Can any one tell me how to rename the active worksheet - more specifically the one just created?
At the moment I have
... which does not work on non-English versions of Excel (as the default sheet name is not "sheet...").
Thanks
Phil
At the moment I have
Code:
Dim ObjExcel As Object
Set ObjExcel = GetObject(Filename)
ObjExcel.Application.Worksheets.Add
Sheetname = "Sheet" & row - 1
ObjExcel.Application.Worksheets(Sheetname).Name =
_ArraySheetFldNames(row)
... which does not work on non-English versions of Excel (as the default sheet name is not "sheet...").
Thanks
Phil