Saturday, November 1, 2014

#1 2003-02-15 11:13:33 am

Trash Man
Sanitation Department
Registered: 2005-10-20
Posts: 5336

Open .slk file with Excel...

I'm trying to open with a Apple scrit a .slk file with Excel but i go a strange behaviour. If i drag the file on Excel icon all go ok, but when i try to opne it with the "Open" command in a Script it tell me that it can't open some rows..and it open only 1 column...i really don't understand smile


One mans trash is another mans treasure

Offline

 

#2 2003-02-15 08:08:35 pm

Trash Man
Sanitation Department
Registered: 2005-10-20
Posts: 5336

Re: Open .slk file with Excel...

I'm trying to open with a Apple scrit a .slk file with Excel

Does this do what you need?

Applescript:

tell application "Microsoft Excel"
   Activate
   Open "Workbook1.slk"
end tell

I saved a .slk file named "Workbook1.slk" from Excel on my desktop and the above script seems to work.


One mans trash is another mans treasure

Filed under: microsoft

Offline

 

Board footer

Powered by FluxBB

[ Generated in 0.016 seconds, 10 queries executed ]

RSS (new topics) RSS (active topics)