+ Reply to Thread
Results 1 to 7 of 7

How do I insert a new worksheet consecutively?

  1. #1
    lady-pearl
    Guest

    How do I insert a new worksheet consecutively?

    On my current Workbook I would like to insert anywhere from 1 - 10 extra
    worksheets, but I notice that when I do the "insert worksheet" they are not
    always consecutive. I am finding that I have to drag them back to the place
    where I want them to appear originally.

    Thanks!

    Pearl

  2. #2
    Carole Drake
    Guest

    RE: How do I insert a new worksheet consecutively?

    Lady-Pearl,
    When you ask to insert a worksheet, it asks if you want if to be 'in front
    of which?"
    Look for that button...
    Carole

    "lady-pearl" wrote:

    > On my current Workbook I would like to insert anywhere from 1 - 10 extra
    > worksheets, but I notice that when I do the "insert worksheet" they are not
    > always consecutive. I am finding that I have to drag them back to the place
    > where I want them to appear originally.
    >
    > Thanks!
    >
    > Pearl


  3. #3
    Dave Peterson
    Guest

    Re: How do I insert a new worksheet consecutively?

    I think you see that when you move or copy a worksheet--not when you insert.

    Carole Drake wrote:
    >
    > Lady-Pearl,
    > When you ask to insert a worksheet, it asks if you want if to be 'in front
    > of which?"
    > Look for that button...
    > Carole
    >
    > "lady-pearl" wrote:
    >
    > > On my current Workbook I would like to insert anywhere from 1 - 10 extra
    > > worksheets, but I notice that when I do the "insert worksheet" they are not
    > > always consecutive. I am finding that I have to drag them back to the place
    > > where I want them to appear originally.
    > >
    > > Thanks!
    > >
    > > Pearl


    --

    Dave Peterson

  4. #4
    Carole Drake
    Guest

    Re: How do I insert a new worksheet consecutively?

    Right you are, but I just tried and if you put your pointer on one and click
    to insert, the new one always comes just before it, not after. Maybe you
    could position it that way.
    Carole

    "Dave Peterson" wrote:

    > I think you see that when you move or copy a worksheet--not when you insert.
    >
    > Carole Drake wrote:
    > >
    > > Lady-Pearl,
    > > When you ask to insert a worksheet, it asks if you want if to be 'in front
    > > of which?"
    > > Look for that button...
    > > Carole
    > >
    > > "lady-pearl" wrote:
    > >
    > > > On my current Workbook I would like to insert anywhere from 1 - 10 extra
    > > > worksheets, but I notice that when I do the "insert worksheet" they are not
    > > > always consecutive. I am finding that I have to drag them back to the place
    > > > where I want them to appear originally.
    > > >
    > > > Thanks!
    > > >
    > > > Pearl

    >
    > --
    >
    > Dave Peterson
    >


  5. #5
    Dave Peterson
    Guest

    Re: How do I insert a new worksheet consecutively?

    Even inserting from the Insert|worksheet will insert before the activesheet.

    I think if the OP wants more control, a macro would be in order.

    Carole Drake wrote:
    >
    > Right you are, but I just tried and if you put your pointer on one and click
    > to insert, the new one always comes just before it, not after. Maybe you
    > could position it that way.
    > Carole
    >
    > "Dave Peterson" wrote:
    >
    > > I think you see that when you move or copy a worksheet--not when you insert.
    > >
    > > Carole Drake wrote:
    > > >
    > > > Lady-Pearl,
    > > > When you ask to insert a worksheet, it asks if you want if to be 'in front
    > > > of which?"
    > > > Look for that button...
    > > > Carole
    > > >
    > > > "lady-pearl" wrote:
    > > >
    > > > > On my current Workbook I would like to insert anywhere from 1 - 10 extra
    > > > > worksheets, but I notice that when I do the "insert worksheet" they are not
    > > > > always consecutive. I am finding that I have to drag them back to the place
    > > > > where I want them to appear originally.
    > > > >
    > > > > Thanks!
    > > > >
    > > > > Pearl

    > >
    > > --
    > >
    > > Dave Peterson
    > >


    --

    Dave Peterson

  6. #6
    Carole Drake
    Guest

    Re: How do I insert a new worksheet consecutively?

    I'm kind of new to macros - how would you go about using one for this?

    "Dave Peterson" wrote:

    > Even inserting from the Insert|worksheet will insert before the activesheet.
    >
    > I think if the OP wants more control, a macro would be in order.
    >
    > >
    > > > > > > "lady-pearl" wrote:
    > > > >
    > > > > > On my current Workbook I would like to insert anywhere from 1 - 10 extra
    > > > > > worksheets, but I notice that when I do the "insert worksheet" they are not
    > > > > > always consecutive. I am finding that I have to drag them back to the place
    > > > > > where I want them to appear originally.
    > > > > >
    > > > > > Thanks!
    > > > > >
    > > > > > Pearl
    > > >
    > > > --
    > > >
    > > > Dave Peterson
    > > >

    >
    > --
    >
    > Dave Peterson
    >


  7. #7
    Dave Peterson
    Guest

    Re: How do I insert a new worksheet consecutively?

    You could use a macro like this:

    Option Explicit
    Sub InsertWorksheets()
    Dim HowMany As Long
    Dim iCtr As Long

    HowMany = CLng(Application.InputBox(Prompt:="How many?", Type:=1))

    For iCtr = 1 To HowMany
    Worksheets.Add after:=ActiveSheet
    Next iCtr

    End Sub

    If you're new to macros, you may want to read David McRitchie's intro at:
    http://www.mvps.org/dmcritchie/excel/getstarted.htm

    Then to run it, you can just:
    tools|macro|macros (or alt-F8)
    select InsertWorkbooks and click run

    The workbook with the macro in it needs to be open.

    Carole Drake wrote:
    >
    > I'm kind of new to macros - how would you go about using one for this?
    >
    > "Dave Peterson" wrote:
    >
    > > Even inserting from the Insert|worksheet will insert before the activesheet.
    > >
    > > I think if the OP wants more control, a macro would be in order.
    > >
    > > >
    > > > > > > > "lady-pearl" wrote:
    > > > > >
    > > > > > > On my current Workbook I would like to insert anywhere from 1 - 10 extra
    > > > > > > worksheets, but I notice that when I do the "insert worksheet" they are not
    > > > > > > always consecutive. I am finding that I have to drag them back to the place
    > > > > > > where I want them to appear originally.
    > > > > > >
    > > > > > > Thanks!
    > > > > > >
    > > > > > > Pearl
    > > > >
    > > > > --
    > > > >
    > > > > Dave Peterson
    > > > >

    > >
    > > --
    > >
    > > Dave Peterson
    > >


    --

    Dave Peterson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1