+ Reply to Thread
Results 1 to 3 of 3

Based on tab label name in the beginning

  1. #1
    Forum Contributor
    Join Date
    10-16-2011
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    112

    Based on tab label name in the beginning

    I am using the following code below for one excel file

    Please Login or Register  to view this content.
    But when I copy the Macro to another excel file, instead of Table, it is List

    Please Login or Register  to view this content.
    is there any way to tell the Macro to only look for the tab label as "_003" in the beginning and NOT telling it to use the active sheet.

    Since with my Macro i have it creating Pivot tables and charts
    Last edited by Jerseynjphillypa; 08-02-2012 at 08:22 AM.

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Based on tab label name in the begging

    maybe something like this
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    10-16-2011
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    112

    Re: Based on tab label name in the begging

    Thanks for your help nilem.

    I keep getting an error (highlighted in red) when I replaced the code with yours, but I'm just trying to create a pivot table now

    Error: Invalid procedure call or argumment

    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)

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