取消
显示结果 
搜索替代 
您的意思是: 

Read Specific worksheet in Excel File

已解决!
转到解答

HI, i recently jus got the report generation toolkit and i would like to open my excel file

im jus trying here and there and searching in the Excel Thread but cant find much clues..

 

my purpose of doing this is to open my worksheet 2 in my excel file and display it out in a table

need some help

18265iF4FBD21AA6651A40

 

下载全部
0 项奖励
1 条消息(共 15 条)
6,260 次查看
解答
已被主题作者 64864050 接受

Here is something for you : I d'on't understand what's wrong because it seems to work with one of my own Excel files and it doesn't work with the one you attached (values are different) !

 

Can you please tell me wether or not it works on your PC ?

0 项奖励
2 条消息(共 15 条)
6,249 次查看

You do know that Read from Spreadsheet File does not open Excel .xls files, don't you?

 

To work with Excel Files, you have to use ActiveX like krsone used in the attachments he posted.

0 项奖励
3 条消息(共 15 条)
6,236 次查看

Use Excel Get Worksheet to specify worksheet.

Then use Excel Get Data to get data.

0 项奖励
4 条消息(共 15 条)
6,222 次查看

its not working at all..

 

0 项奖励
5 条消息(共 15 条)
6,211 次查看

i do not know, just learnt labview and trying to generate a report quickly, so was hoping that getting this toolkit can save me from using/learning activex

 

吐舌表情

 

0 项奖励
6 条消息(共 15 条)
6,210 次查看

i got a small problem, from krsone examples, it is able to read from the range values indicated

but if i wan the read ALL the data, how am i gonna change it?

i've tried to remove the range and put ShowAllData, but it doesn't work

18329i4067C486BA059CCE

下载全部
0 项奖励
7 条消息(共 15 条)
6,200 次查看

Why would you use the "Show All Data" invoke node.  The Show All Data method according to VB help "Makes all rows of the currently filtered list visible."

 

And why would you take a worksheet reference and try to convert it to a 2-D array?

 

Are you trying to capture all possible data on the worksheet (256 columns by 65536 rows)?  That is a lot of data and I doubt any real spreadsheet of yours will be that full.  If so, you can make your range A:IV and that will be all rows of all 256 columns of data.

0 项奖励
8 条消息(共 15 条)
6,195 次查看

my actual excel have about 16000 rows of data or even more, but i will not know the actual numbers of rows as it depends on my testing.

i already have a VI that create an excel file when the test complete.

so i want to open up and display it in LabView (this is only part of it as i need to open serveral more excel file and merge it into 1 excel file)

0 项奖励
9 条消息(共 15 条)
6,189 次查看

after much thinking and looking through, i edited some and now it seems that its not working

theres this error message "type mismatch" and i don't get it

all i want is to open the selected excel file and the selected worksheet and display all data.

 

18335i8F7399665871FFD7

0 项奖励
10 条消息(共 15 条)
6,176 次查看