+ Reply to Thread
Results 1 to 2 of 2

macro and worksheet name

  1. #1
    Registered User
    Join Date
    02-05-2014
    Location
    planet earth
    MS-Off Ver
    Excel 2013
    Posts
    1

    macro and worksheet name

    Hello guys,

    I created a macro for data segregation and extraction.

    My currently flow is:
    • create new worksheets
    • rename the worksheets to eg, sheet1 to product1, sheet2 to product2, etc
    • manually filter the main data sheet, copy and paste the data into the respective sheets

    how to i edit the codes to allow the renaming of the worksheets to be non-static?
    meaning it doesn't have to be sheet1 to product1, sheet2 to product2
    i can have sheet3 to product1, sheet4 to product2 or sheet7 to product1, sheet8 to product2

    i feel that my method of data segregation and extraction is kind of rigid. is there any methods i can make it to be more fluid/dynamic?

    I'm a novice to advanced excel, appreciate your help.

  2. #2
    Forum Contributor
    Join Date
    06-16-2011
    Location
    London
    MS-Off Ver
    Excel XP
    Posts
    276

    Re: macro and worksheet name

    Please Login or Register  to view this content.

+ 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. [SOLVED] Macro/VBA code to Copy data from primary worksheet to a worksheet opened by macro
    By MHamid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-30-2013, 11:10 AM
  2. Macro to select worksheet based on cell value and then return data to diff worksheet
    By clnossok in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-22-2013, 07:48 PM
  3. Excel 2010 Macro to copy worksheet, update formula and rename worksheet
    By madmak0203 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-29-2012, 09:18 PM
  4. Replies: 1
    Last Post: 08-29-2012, 07:11 PM
  5. [SOLVED] Macro to copy cells from one worksheet to another copies worksheet data as image instead??
    By michaeljoeyeager in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-13-2012, 11:26 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