LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i to run vba code by labview ?

Dim ie As Object

Set ie = CreateObject("INTERNETEXPLORER.Application")
ie.Navigate (" ") 
ie.Visible = True

Do While ie.Busy
     DoEvents
Loop

0 Kudos
Message 1 of 3
(3,099 Views)

You don't!

 

Either you need an application that implements VBA such as Excel and Word and control that through their ActiveX or .Net interface to execute the VBA code for you or you directly interface to the application in question (here the internet explorer) through ActiveX or .Net and do whatever your VBA script wants to do directly through the internet explorer interface.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 3
(3,087 Views)

If you're looking for something equivalent in LabVIEW, look for  'Open URL in Default Browser'

0 Kudos
Message 3 of 3
(3,044 Views)