My excel cannot be execute in minimized

Aimin Ariff

Member
Join Date
Mar 2023
Location
Selangor
Posts
28
Hi guys, Im back again, this time I cannot minimized excel even though i put 6 on the exec mode.. this is my cicode..

Exec("C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE C:\Users\USER\Desktop\ICEE\All_ctz\Knowles_All\output.xlsx",6);

Then, after execute, how can i make it close after 2 seconds and rexecute after 10 seconds?

Need help from all the expert! Thanksssss in advance!!

I am using Vijeo Citect 7.4 btw
 
Last edited:
Try this:

Exec("^""+PathToStr("C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE")+"^" ^""+PathToStr("C:\Users\USER\Desktop\ICEE\All_ctz\Knowles_All\out put.xlsx")+"^"",6);
 

Similar Topics

Hi, I'm trying to export data from a DataGrid to Excel using VBA, but I'm getting an error "Object doesn't support this property or method". The...
Replies
0
Views
82
I don't know if this is the right place for the subject at least I'll try. The company has one of the oldest computers that is a master Windows...
Replies
5
Views
745
Hi, I'm just looking for a simple way to make a button in excel (via VBA I presume) to toggle a bit in RSLogix 5000. I just got FactoyTalkLinx...
Replies
9
Views
548
Hello, I want to send the data from Rslogix500 to Excel. I created a connection between RSlinx and Excel. The values in Excel automatically...
Replies
5
Views
1,185
Hi everyone! I want to use a Siemens LOGO! to a level monitoring system, but I want to send that registered information to a monitor, (i think i...
Replies
0
Views
454
Back
Top Bottom