Jump to content

Writing into a word document


Recommended Posts

Posted

Hello.

I would like to ask you a question. I've seen that it is possible to open and to write arrays and tables into an excel file and show it from labview using ActiveX.

Is it possible to make something like that wiht Microsoft word? I mean, I want to write some strings into a word document using active x but I don't know how to do it because I'm new using activeX controls.

Thank you very much.

:headbang:

Posted
Hello.

I would like to ask you a question. I've seen that it is possible to open and to write arrays and tables into an excel file and show it from labview using ActiveX.

Is it possible to make something like that wiht Microsoft word? I mean, I want to write some strings into a word document using active x but I don't know how to do it because I'm new using activeX controls.

1.Get ActiveX container (Front Panel >> Containers>> ActiveX Container)

2. RMB(mouse menu)>> Insert ActiveX Object

3. Select at the top:'Create Document' >> at list: Microsoft Word Document

On the diagram:

4. Functions>>Communication>> ActiveX>>

5. Terminal 'Document' >wire>Automation Open function >> Property Node and Invoke Node gets you lots of fun

best regards

Mikrobi

Posted
Hello.

I would like to ask you a question. I've seen that it is possible to open and to write arrays and tables into an excel file and show it from labview using ActiveX.

Is it possible to make something like that wiht Microsoft word? I mean, I want to write some strings into a word document using active x but I don't know how to do it because I'm new using activeX controls.

Thank you very much.

:headbang:

Fernandotid,

For some "built-in" examples of axtive-x control of Excel, go to "Find Examples" from the startup Dialog:

post-2931-1126790509.jpg?width=400

Then navigate through the hierarchy to come to the following examples:

post-2931-1126790602.jpg?width=400

Good luck!

-Pete Liiva

  • 1 month later...
Posted

Search on NI DevZone, there is an example that does what you want and includes a library of VIs to use ACtiveX to make a small report in Word, including tables, etc.

Creating a Report in Word ...

Play around with the methods and property nodes, kyou will find that there is very little you cannot do by modifying this. :book:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.