Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a function that adds a new work when needed
'Add A New Sheet ActiveWorkbook.Sheets.Add The problem is that when the sheet is inserted it is placed at the beginning of the workbook. Sheet2 will appear before Sheet1. I want to automate the process of moving Sheet2 after Sheet1 and all subsequent Sheets (3, 4, 5 ...) Sheets("Sheet2").Select Sheets("Sheet2").Move After:=Sheets(1) How do I use a counter/variable in place of the "2" so that each time I call the "ActiveWorkbook.Sheets.Add" it will add the new Sheet to the end? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
selecting a single sheet from a volume of sheets in a workbook | Excel Worksheet Functions | |||
Workbook / sheets and Double Monitor ? | Excel Discussion (Misc queries) | |||
How to calculate percentage acroos sheets in a workbook | Excel Discussion (Misc queries) | |||
Finding specific sheets within a workbook | Excel Discussion (Misc queries) | |||
How to hyperlink from a workbook to sheets in another workbook? | Excel Worksheet Functions |