Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() my line is: Sheets("Sheet 1").Copy After:=Sheets(3) This is part of a sheet copy macro, I need it to copy "sheet 1" to the end, not after sheets(3). The workbook can have 40+sheets. Any help would be great!!! -- comotoman ------------------------------------------------------------------------ comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292 View this thread: http://www.excelforum.com/showthread...hreadid=474121 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sheets("Sheet 1").Copy After:=Sheets(Sheets.Count)
The default sheet name is "Sheet1" so I assume you changed the sheet name to have a space before the "1". -- Jim "comotoman" wrote in message ... | | my line is: | Sheets("Sheet 1").Copy After:=Sheets(3) | | This is part of a sheet copy macro, I need it to copy "sheet 1" to the | end, not after sheets(3). The workbook can have 40+sheets. Any help | would be great!!! | | | -- | comotoman | ------------------------------------------------------------------------ | comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292 | View this thread: http://www.excelforum.com/showthread...hreadid=474121 | |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sheets("Sheet 1").Copy After:=Sheets(sheets.count)
-- Regards, Tom Ogilvy "comotoman" wrote in message ... my line is: Sheets("Sheet 1").Copy After:=Sheets(3) This is part of a sheet copy macro, I need it to copy "sheet 1" to the end, not after sheets(3). The workbook can have 40+sheets. Any help would be great!!! -- comotoman ------------------------------------------------------------------------ comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292 View this thread: http://www.excelforum.com/showthread...hreadid=474121 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy and paste versus copy and insert copied cells | New Users to Excel | |||
Copy/Paste how to avoid the copy of formula cells w/o calc values | Excel Discussion (Misc queries) | |||
EXCEL FILE a copy/a copy/a copy ....filename | New Users to Excel | |||
Code to copy range vs Copy Entire Worksheet - can't figure it out | Excel Programming | |||
How copy format, font, color and border without copy/paste? | Excel Programming |