Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何获取Excel一定范围内的数据 #2

Open
PengfeiRen96 opened this issue Jul 7, 2017 · 4 comments
Open

如何获取Excel一定范围内的数据 #2

PengfeiRen96 opened this issue Jul 7, 2017 · 4 comments

Comments

@PengfeiRen96
Copy link

比如我一次想获取1-100行的数据,除了 d->sheet->querySubObject("Cells(int, int)", row, col)这样循环有没有其他方法,这样速度应该会很慢。求解,十分感谢

@Kratos-Coder-Hash
Copy link

Kratos-Coder-Hash commented Jul 7, 2017 via email

@czyt1988
Copy link
Owner

我记得有的,主要看看VBA有没有提供对应的函数,你查查VBA相关函数

@PengfeiRen96
Copy link
Author

谢谢,找到了

@PengfeiRen96
Copy link
Author

请问如果是存数据到一个新建的excel直接这样调用 m_xls->create(fileName)为什么会报错啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants