cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

labview excel with activex

¡Resuelto!
Ir a solución

Hello everyone,

during my intership i have a project where i have to add some data to an excel file which already exist, i have to use activex but no idea how to use it, is there some vi available where i can give a file and the coordinates of cells where to writte

using labview 2014, beginer on labview
0 kudos
Mensaje 1 de 29
20.042 Vistas
Solución
Aceptado por el autor del tema louis293

 

Try This

 

ExcelAccess.png

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
Mensaje 2 de 29
20.027 Vistas

thanks a lot, do you by chance have the vi so that i can dowland it ?

using labview 2014, beginer on labview
Mensaje 3 de 29
20.015 Vistas

i don't manage to drag and paste, can somebody put the VI file  please ? thanks in advance

using labview 2014, beginer on labview
0 kudos
Mensaje 4 de 29
19.990 Vistas

Hi Louis,

 

left-click the image to start the image viewer of the NI forum.

Then you will see a download button below the image: save the image to your harddrive.

Drag the image file from your harddrive into an empty VI block diagram.

Finished.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Mensaje 5 de 29
19.978 Vistas

Thanks

well the probleme now is that i have the labview 2014, doesn't work with this file.

using labview 2014, beginer on labview
0 kudos
Mensaje 6 de 29
19.975 Vistas
Solución
Aceptado por el autor del tema louis293

Hi Louis,

 

here you go.

(You could state your LabVIEW version in your signature to aid other to provide VIs in the needed version…)

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Mensaje 7 de 29
19.968 Vistas

thanks a lot, but it still doesn't work but i think it is an individual error (it will probably work on other computers), when i run an error occur , and when i open the excel file after it didn't change as expected and it is suddenly only lecture mode available

the error is error -2147352565 index not valid

 

using labview 2014, beginer on labview
0 kudos
Mensaje 8 de 29
19.962 Vistas

Hi Louis,

 

index not valid

The VI will select a certain Excel sheet: you have to provide a valid sheet name!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 kudos
Mensaje 9 de 29
19.940 Vistas

i think i gave a valid one, i used the path button to specify the file, i don't know what i can do better

using labview 2014, beginer on labview
0 kudos
Mensaje 10 de 29
19.934 Vistas