Hello,
The situation in my code: VB has reached the last row for data entry in an
excel spreadsheet's current worksheet. Prior arrangement requires me to
start data entry on a new sheet.
The task I need to accomplish: Get VB to copy the current sheet (then I can
blank out filled cells to start afresh), or (preferably) open the blank
template, and copy out the empty sheet to existing .xls file (move to end).
Then finally, I need to close the .xlt and set focus on new sheet in .xls.
Also, I need to just switch easily between sheets inside the .xls.
I've copied below the required code in VBE:
Workbooks.Open Filename:= _
"C:\Documents and Settings\user\My Documents\MyTemplate.xlt",
Editable:= _
True
Sheets("Sheet1").Copy After:=Workbooks("MySheet.xls").Sheets(1)
ActiveWindow.ActivateNext
ActiveWindow.Close
Anyone have some ideas about converting the above to VB?
Much Thanks,