D
Desert Piranha
Hi all,
I have a custom "Book.xlt" which is opening as "Book1" when Excel
opens, no problems.
I have a "Sheet.xlt" in the same folder as the Book.xlt, that if when i
use "Insert, Worksheet" it
opens fine. No problems. (They are the same formating)
If i use:
Code:
--------------------
Sub AddWorkSheetAtEnd()
Worksheets.Add After:=Worksheets(Worksheets.Count)
End Sub
--------------------
then i get a OLD default worksheet.
How can i word the code to open the custom "Sheet.xlt", as when i use
"Insert,WorkSheet" ?
Xl 2000
Book.xlt and Sheet.xlt are in:
C:\Documents and Settings\Owner\Application
Data\Microsoft\Excel\XLSTART
I have a custom "Book.xlt" which is opening as "Book1" when Excel
opens, no problems.
I have a "Sheet.xlt" in the same folder as the Book.xlt, that if when i
use "Insert, Worksheet" it
opens fine. No problems. (They are the same formating)
If i use:
Code:
--------------------
Sub AddWorkSheetAtEnd()
Worksheets.Add After:=Worksheets(Worksheets.Count)
End Sub
--------------------
then i get a OLD default worksheet.
How can i word the code to open the custom "Sheet.xlt", as when i use
"Insert,WorkSheet" ?
Xl 2000
Book.xlt and Sheet.xlt are in:
C:\Documents and Settings\Owner\Application
Data\Microsoft\Excel\XLSTART