Defining path to template
I have the following code to define the path to an Excel template -
I've defined "newSheet" as Worksheet and "memList" as Object.
but I get the error message 9 "subscript out of range"!!
Can you help please?
Roger
Set newSheet = Worksheets("sheet").Add(, memList, , _ "C:\Documents and Settings\ROGER JOHNSON\Application Data\Microsoft\Excel\XLSTART\memSheet.xltx")
Worksheets or Workbook?
Workbooks.Add("C:\Documents and Settings\ROGER JOHNSON\Application Data\Microsoft\Excel\XLSTART\memSheet.xltx")
lol
That was me.
Defining path to template
Because Excel is bugged
You missed the 2nd comma!!
You missed the 2nd comma!! But, I'm very grateful!! Hopefully I will leave you alone for a while!!
Roger