LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to an Excel Template without showing

Solved!
Go to solution

Hi all..

 

Please have a look at the attached VI. (LV7.1)

I have tried to open n existing template and write some data at particular cells. I dont want the Excel to open up and show.... it should automatically write.

 

Message Edited by Nghtcrwlr on 07-22-2009 04:49 AM
Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 1 of 15
(4,608 Views)

HI

I think the best way to do this you can use "MS office Report" express vi.

 

Hope this helps

Regards

Santosh

0 Kudos
Message 2 of 15
(4,603 Views)

Hi Nghtcrwlr,

see the attached picture. It should work for you.

 

Mike

0 Kudos
Message 3 of 15
(4,600 Views)

Hi ..

I tried to solve that problem. But now 2 errors comes up. One is attached below. and the other is LV crashes suddenly... any idea???

 

 

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
Download All
0 Kudos
Message 4 of 15
(4,593 Views)

Hi Nghtcrwl,

you got this message, because you never close the document and excel. Why didn't you try it like shown in the picture before?

 

Mike

0 Kudos
Message 5 of 15
(4,580 Views)
Sryy.. i didnt notice ur message before posting. I tried with what u mentioned. See the attchment. But now i cant open the Excel in a normal way . When i open it from the folder, it jus appears for a second in the screen and goes off... why is it so?
Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 6 of 15
(4,566 Views)

Hi,

it's because of the close methods at the end. If you want to edit the file manually, then you have to disable them.

 

Mike

0 Kudos
Message 7 of 15
(4,560 Views)

Hi Mike..

i removed both close methods at the end. STill its not wrking.

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
Message 8 of 15
(4,555 Views)
Solution
Accepted by topic author Nghtcrwlr

Hi Nghtcrwl,

add the "visible" property to the first property node an connect a true to it. The first worksheet is index 1.

 

Mike

Message Edited by MikeS81 on 07-22-2009 03:17 PM
Message 9 of 15
(4,550 Views)

Hi Mike

 

Thanks...

 

One more question. What if i want to save the opened template in another name and at another folder? I tried to change the invoke nodes at the end to method "save as" but didnt work.

Nghtcwrlr

---------------------------------------------------------------------------------------------
*************************************
---------------------------------------------------------------------------------------------
0 Kudos
Message 10 of 15
(4,540 Views)