+ Reply to Thread
Results 1 to 4 of 4

vba code to add modulable no of named worksheets after the last existing named sheet

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,143

    vba code to add modulable no of named worksheets after the last existing named sheet

    I have a worbook with 2 sheets named AA and BB.

    I have to add several sheets sometimes 3 ,6 or 7 OR 12 sheets with their sheets names e.g AC , DE, FG, VF, DE, MC, VV etc after sheets BB

    but sometimes there may be 4 or 5 or 6 or 7 named sheet after sheet BB but need to add additional sheets names after the last existing sheet


    looking for vba code to do this .

    Can anyone assist

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: vba code to add modulable no of named worksheets after the last existing named sheet

    You could have found this answer yourself with a simple Google search for "excel vba add sheets after"

    try something like this for a single sheet
    Please Login or Register  to view this content.
    "
    Or for 4 sheets
    Please Login or Register  to view this content.
    or for 4 named sheets
    Please Login or Register  to view this content.
    Last edited by kev_; 02-11-2017 at 05:24 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,143

    Re: vba code to add modulable no of named worksheets after the last existing named sheet

    Thanks the third option was the most appropriate what I was looking for

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: vba code to add modulable no of named worksheets after the last existing named sheet

    You are welcome
    thanks for the reps

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA code to find cell contents within named range, copy to new row on another sheet
    By djarum11 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-23-2015, 11:17 PM
  2. Create new sheet named today's date and paste existing data into the sheet
    By kmao2004 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-05-2014, 06:35 PM
  3. Expanding code from working on one named sheet to multiple named sheets
    By BryanD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2014, 01:26 PM
  4. Replies: 1
    Last Post: 07-11-2014, 04:19 PM
  5. Search folders for named worksheets and create a master sheet of merged data
    By pmhancock10 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-20-2013, 10:40 AM
  6. I have 2 named ranges on 1 sheet and 1 named range on another..
    By niceguy21 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-05-2013, 06:08 AM
  7. [SOLVED] Code to List Named Ranges for each Sheet not working
    By leaning in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-19-2012, 11:13 AM

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