Results 1 to 16 of 16

Creating Marco for varying number of sheets

Threaded View

Roseline Creating Marco for varying... 02-17-2019, 02:14 AM
mehmetcik Re: Creating Marco for... 02-17-2019, 05:11 AM
Roseline Re: Creating Marco for... 02-17-2019, 01:55 PM
Mumps1 Re: Creating Marco for... 02-17-2019, 02:12 PM
Roseline Re: Creating Marco for... 02-17-2019, 03:04 PM
mehmetcik Re: Creating Marco for... 02-17-2019, 05:35 PM
Roseline Re: Creating Marco for... 02-17-2019, 06:03 PM
mehmetcik Re: Creating Marco for... 02-17-2019, 06:15 PM
Roseline Re: Creating Marco for... 02-17-2019, 06:33 PM
mehmetcik Re: Creating Marco for... 02-17-2019, 06:40 PM
Roseline Re: Creating Marco for... 02-17-2019, 07:21 PM
mehmetcik Re: Creating Marco for... 02-17-2019, 07:27 PM
Roseline Re: Creating Marco for... 02-17-2019, 07:50 PM
mehmetcik Re: Creating Marco for... 02-17-2019, 07:56 PM
Roseline Re: Creating Marco for... 02-17-2019, 08:25 PM
mehmetcik Re: Creating Marco for... 02-17-2019, 08:37 PM
  1. #1
    Registered User
    Join Date
    10-15-2016
    Location
    ATLANTA
    MS-Off Ver
    2016
    Posts
    16

    Creating Marco for varying number of sheets

    Hi.

    I have an excel file which contains a few sheets named Sheet1, Sheet2, …., also include AA, BB, CC and DD( As a renamed Sheets). Sheet1, Sheet2, … SheetN, will have data pulled from another source.

    I have created a macro, which formats the data on Sheets1, Sheet2, .......SheetN, "Individually" as per my requirement.

    FYI…”sometimes”, there might be Sheet3, Sheet4, Sheet5 or more sheets of data pulled from another source.

    But my challenge is:

    1) When I click on created Marco button, data on Sheet1, Sheet2, …. SheetN, Etc. should be formatted "At the same time". But the rename sheets AA, BB, CC and DD should not be impacted, because AA, BB, CC and DD contain a different macro.

    2) Also, (like I mentioned in the beginning), user might add several sheets like Sheet3, Sheet4, …SheetN, but AA, BB, CC and DD will remain untouched.

    As a result, the macro that I am looking for should be able to accommodate how many ever sheets (Sheet1, Sheet2, Sheet3, Sheet4….SheetN) the user adds.

    Can someone help/advise me on this?

    Any help is much appreciated.
    Last edited by Roseline; 02-17-2019 at 02:47 PM. Reason: UPDATED

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Creating a Marco to Replace a Specific Number with a Specific Letter in a Column
    By goldbeje in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-27-2011, 11:26 AM
  2. VBA Marco/equations for creating reports
    By Deman_250 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-21-2011, 03:00 AM
  3. Collating data from varying number of sheets
    By munkee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2009, 08:22 PM
  4. Exclamation Collate data from varying number of sheets to one sheet
    By munkee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-28-2009, 06:07 PM
  5. Replies: 0
    Last Post: 11-26-2009, 04:53 PM
  6. Selecting an array with a varying number of sheets
    By cbjorgol in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2008, 09:41 AM
  7. Generic Page Setup Macro applied to multiple workbooks with varying number of sheets
    By sowetoddid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-22-2005, 11:45 AM
  8. [SOLVED] VARYING number of sheets in EXCEL
    By Darrin in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-22-2005, 12:06 PM

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