Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Save custom file name using MS Office Report Express VI

Solved!
Go to solution

When my program creates a report, I want to save it as a serial number defined in the report.  I want to use the MS Office Report Express VI to do this but unfortunately it only allows you to save the file name as a time/date and/or incremental number.

0 Kudos
Message 1 of 5
(4,515 Views)
This is not related to instrument control. Please click the 'Options' and then Notify Moderator to ask that the thread be moved to the LabVIEW board.
0 Kudos
Message 2 of 5
(4,512 Views)
Solution
Accepted by topic author jliu317

Hi jliu317,

 

While waiting for you to notify the moderator to move your thread, here is my solution. (Correct me if I'm wrong)

 

In MS Office Report, there is a block diagram input called Path to Save Report. So this is where you can save your report in Words (.doc) or Excel (.xls) with customized filename such as serial number, as shown below.

http://zone.ni.com/reference/en-XX/help/370274G-01/lvoffice/ms_office_report/

Capture.PNG

 

Hope this helps.

 

-Ee Lim-



See that button on the left side of this post...

If you feel my post is helpful, all you need is just (at most) 2 seconds to click that button, to show your appreciation. Thank you~~



Message 3 of 5
(4,480 Views)

Duplicate thread over in the LabVIEW board:http://forums.ni.com/t5/LabVIEW/Custom-file-name-when-saving/m-p/2820390


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 5
(4,470 Views)

Thanks.  I guess it only shows up when you tell the VI to specify file path.  By the way what are those yellow icons you used?

0 Kudos
Message 5 of 5
(4,464 Views)