Sign in to follow this  
Followers 0
MJOAP

_ExcelBookSaveAs and the xlsx file extension

3 posts in this topic

Hi Everyone,

I am trying to find out if the following is working yet with xlsx extensions.

I have tried and have had no joy.

_ExcelBookSaveAs($oExcel, @DesktopDir & "\Test3", "xls", 0, 1)

Thanks a lot.

Michael.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Try this line instead of your line :

$oExcel.Application.ActiveWorkBook.SaveAs("C:\Your file.xlsx",51,"","",False,False)

edit:

You have office 2007 right?

Edited by Juvigy

Share this post


Link to post
Share on other sites

Thanks a million for the help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0