LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Specifying position of new Worksheets via C or VBA

How can I control the positon of a newly added worksheet added via C?

When I use the published code

ThisWorkbook.Worksheets.Add( Type.Missing, Type.Missing, Type.Missing,
Type.Missing)

it inserts the new Worksheet after the Active Worksheet. I want to control
exactly where it is inserted, probably I can tell by the parameters but
don't have any explanation. I tried several things but getting error
messages only.

Thanks - Reinhard


 
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
Excel Formula using relative position of cells in two different worksheets David Virgil Hobbs Excel Discussion (Misc queries) 1 December 14th 06 03:36 AM
Excel Formula using relative position of cells in two different worksheets David Virgil Hobbs Excel Worksheet Functions 1 December 14th 06 03:36 AM
Look up a value which position changes. David_in_AUS Excel Discussion (Misc queries) 1 June 13th 06 09:01 AM
Setting All Worksheets To The Same Scroll Position wormdazzler Excel Worksheet Functions 2 July 20th 05 10:40 PM
Position cursor in multiple worksheets Rick[_19_] Excel Programming 4 March 5th 04 01:32 PM


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

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

About Us

"It's about Microsoft Excel"