Quantcast
Channel: Word VBA Beginners
Viewing all articles
Browse latest Browse all 106

macro to save .csv in excel 2007 .xlsx format

$
0
0
Hi everybody,

I am putting together a macro that requires saving a .csv spreadsheet to
Excel format (.xlsx).

The file has always the same structure but the name changes according to the
date (it's a download from a customer Portal).

The code for this section looks like this:

ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and
Settings\x132476\Desktop\PCIMerchantReport-20100407.xlsx", _
FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False

Is there a way to save it without refering to the...

macro to save .csv in excel 2007 .xlsx format

Viewing all articles
Browse latest Browse all 106

Trending Articles