Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am writing a custom Access routine to populate a specific worksheet in an
Excel Workbook (the access transferspreadsheet and outputto will not let you specify a specific worksheet). i've got this working. However, if the worksheet I want to write to does not exist, I have to add it (no problem here either). However, I would like to add it as the last worksheet in the workbook, and have not figured out how to do this. When I select the last worksheet, and then add the new one, it inserts it before the last sheet rather than placing it behind it. How can I, programmatically, change the order so the new sheet becomes the last one in the workbook? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dale,
Sheets.Add after:=Worksheets(Worksheets.Count) "Dale Fye" wrote: I am writing a custom Access routine to populate a specific worksheet in an Excel Workbook (the access transferspreadsheet and outputto will not let you specify a specific worksheet). i've got this working. However, if the worksheet I want to write to does not exist, I have to add it (no problem here either). However, I would like to add it as the last worksheet in the workbook, and have not figured out how to do this. When I select the last worksheet, and then add the new one, it inserts it before the last sheet rather than placing it behind it. How can I, programmatically, change the order so the new sheet becomes the last one in the workbook? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks,
I'll give it a try "Toppers" wrote in message ... Dale, Sheets.Add after:=Worksheets(Worksheets.Count) "Dale Fye" wrote: I am writing a custom Access routine to populate a specific worksheet in an Excel Workbook (the access transferspreadsheet and outputto will not let you specify a specific worksheet). i've got this working. However, if the worksheet I want to write to does not exist, I have to add it (no problem here either). However, I would like to add it as the last worksheet in the workbook, and have not figured out how to do this. When I select the last worksheet, and then add the new one, it inserts it before the last sheet rather than placing it behind it. How can I, programmatically, change the order so the new sheet becomes the last one in the workbook? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
move a worksheet from one workbook to another | Excel Discussion (Misc queries) | |||
Why can't you just Move a worksheet in Excel '07 to new workbook? | Excel Worksheet Functions | |||
Copy/Move Worksheet from one Workbook to another | Excel Discussion (Misc queries) | |||
How do I move the worksheet tabs to the top of the workbook? | Excel Discussion (Misc queries) | |||
MOVE Worksheet to another workbook ? | Excel Programming |