L.S.
The code:
vFileName = Application.GetOpenFilename("CSV Files (*.csv), *.csv", 1, "Select csv file.")
Sheets.Add Type:=vFileName
worked fine in excel 2003 vba but in excel 2007 vba it gives the error:
Run-time error '1004':
Method 'Add' of object 'Sheets' failed
The code line :
Sheets.Add Type:="D:\overview.csv"
worksfine in both versions.
Can someone help me with this....?
kaak
Bookmarks