Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Moving worksheets

I have a workbook that under different situations will have a
different number of worksheets.

I want to move a new worksheet after a particular worksheet. I want
to use the name of the worksheet. NOT the number of the worksheet.

Is this possible?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Moving worksheets

Worksheets("x").Move After:=Worksheets("y")

--

Vasant

"Excel" wrote in message
om...
I have a workbook that under different situations will have a
different number of worksheets.

I want to move a new worksheet after a particular worksheet. I want
to use the name of the worksheet. NOT the number of the worksheet.

Is this possible?

Thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
moving worksheets mike Excel Discussion (Misc queries) 1 July 24th 09 09:04 PM
moving worksheets house boy Excel Discussion (Misc queries) 2 July 31st 08 03:22 AM
Moving Worksheets using VB Marie Bayes Excel Discussion (Misc queries) 4 January 18th 07 03:00 PM
Moving all worksheets jerredjohnson Excel Discussion (Misc queries) 1 June 15th 06 06:01 PM
moving a row between worksheets Amit New Users to Excel 2 January 26th 05 02:25 PM


All times are GMT +1. The time now is 08:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"