如何获取Excel一定范围内的数据
比如我一次想获取1-100行的数据,除了 d->sheet->querySubObject("Cells(int, int)", row, col)这样循环有没有其他方法,这样速度应该会很慢。求解,十分感谢
你到网上搜索一下,我记得有人在github开放了代码
发自我的iPhone
------------------ 原始邮件 ------------------ 发件人: RenFeiTemp [email protected] 发送时间: 2017年7月7日 21:49 收件人: czyt1988/czyBlog [email protected] 抄送: Subscribed [email protected] 主题: 回复:[czyt1988/czyBlog] 如何获取Excel一定范围内的数据 (#2)
比如我一次想获取1-100行的数据,除了 d->sheet->querySubObject("Cells(int, int)", row, col)这样循环有没有其他方法,这样速度应该会很慢。求解,十分感谢
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/czyt1988/czyBlog/issues/2, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJcNBzVd0srAmsnULD1aQ61DSamLvvVWks5sLjdXgaJpZM4OQ9yr.
我记得有的,主要看看VBA有没有提供对应的函数,你查查VBA相关函数
谢谢,找到了
请问如果是存数据到一个新建的excel直接这样调用 m_xls->create(fileName)为什么会报错啊