+ Reply to Thread
Results 1 to 6 of 6

Creating New Tab Syntax Error

  1. #1
    Registered User
    Join Date
    11-24-2008
    Location
    York
    Posts
    26

    Creating New Tab Syntax Error

    ]Ok now if I copy and Add it created a new workbook not the current on im in. What am I doing wrong?


    Please Login or Register  to view this content.
    Last edited by Dragonruler12; 11-25-2008 at 04:14 PM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284
    Change ACtiveWorkbook to ThisWorkbook throughout.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    What are you tring to do?
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    11-24-2008
    Location
    York
    Posts
    26
    Ok I did change it like you said however it still copies/creates a new workbook with name Set-up Standard with Two sheets named the way i want them to be. What am I missing?


    Sorry bout that added this before I read your post.
    I am trying to copy a "Standard" Sheet and rename it however I can never be sure what sheet number it is and I want the two tabs to be named what the label2.Caption is and Label4.Caption is.

    Please Login or Register  to view this content.

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Still not sure what you want. Maybe this?
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    11-24-2008
    Location
    York
    Posts
    26
    I believe we got a weiner.... LOL ^_^ thanks you got what I wanted to do. I knew it had to been syntax error or something with a little bit of a change..... Thanks for all the support guys

+ 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