09-02-2011 07:14 AM
Hello all,
Solved! Go to Solution.
09-02-2011 07:59 AM - edited 09-02-2011 08:02 AM
Hello,
Though I do not know why anyone would want to work with excel, especially for data analysis I think your problem is already solved; look in the help; in
labview\examples\comm\ExcelExamples.llb
you will find "Write Table To XL.vi"
This uses Excel as an Active-X component and should work just fine for you.
09-02-2011
08:05 AM
- last edited on
05-21-2025
03:26 PM
by
Content Cleaner
As noted, you need to use ActiveX if you want to write directly to an Excel file. If you don't have the experience in dealing with ActiveX then you may wish to consider the Report Generation Toolkit.
09-02-2011 09:04 AM
Thank you all
I think I can solve the problem
09-06-2011 04:13 AM
Hello all,
unfortunately I couldn't solve the problem. Please see the attachment. I would like save the 2D Array to the shown path (C:\User\Public\.....). The prompt should not appear. The program stops at Invoke Node "Workbook close", why?
I don't know the error.
I hope anyone have solution.
many thanks in advance
Zäpfle
09-06-2011 08:35 AM
You need to provide the filename to the Workbook.Close function. Please read the Help for that function.
09-08-2011 06:11 AM
Hello,
sorry for the delay,
is it possible, that you explain with more details: "You need to provide the filename to the Workbook.Close function"
Where can I find the Help for that function.
Or maybe it's possible, someone completes the attached VI.
thanks in advance
regards zäpfle
09-08-2011 07:52 AM
Here is another example:
09-08-2011 08:08 AM
@zäpfle wrote:
Hello,
sorry for the delay,
is it possible, that you explain with more details: "You need to provide the filename to the Workbook.Close function"
Where can I find the Help for that function.
Or maybe it's possible, someone completes the attached VI.
thanks in advance
regards zäpfle
It's really quite simple. See the "Filename" input for the Close method? You have to wire in a path. You have a path there. Connect your path (which should be a control, NOT a hard-wired constant) to that through a Path to String function. Delete the file open function.
09-08-2011 08:31 AM
Thank you very much for this part of the whole solution.
I don't wont a prompt (see unbenannt.png).
If the file isn't exist, the vi should generate a new one. If the file exist and the filename is the same, the vi overwrite the existing file.
Do you mean, there is a easy solution?
If so. Do you give me some good tips or examples?
thanks in advance
zäpfle