Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: VBA - How to call a new tab with variable name

  1. #11
    Board Regular
    Join Date
    Aug 2016
    Posts
    132
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default Re: VBA - How to call a new tab with variable name

    Bingo x2!

    I had to swap the paste values and formats due to merged cells but working like a treat many thanks.

  2. #12
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    28,190
    Post Thanks / Like
    Mentioned
    470 Post(s)
    Tagged
    47 Thread(s)

    Default Re: VBA - How to call a new tab with variable name

    You're welcome & thanks for the feedback.

    I would also recommend getting rid of merged cells, they will only cause you a lot of grief & hassle.
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

  3. #13
    Board Regular
    Join Date
    Aug 2016
    Posts
    132
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default Re: VBA - How to call a new tab with variable name

    1 last thing sorry, is it possible to combo and past the values of a combo box.

    IE cell K2 is a combo box with 2 options. Can i paste this box with both option into the new tab?

  4. #14
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    28,190
    Post Thanks / Like
    Mentioned
    470 Post(s)
    Tagged
    47 Thread(s)

    Default Re: VBA - How to call a new tab with variable name

    I would suggest that you start a new thread for this.
    I never use comboboxes on sheets
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

  5. #15
    Board Regular
    Join Date
    Aug 2016
    Posts
    132
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default Re: VBA - How to call a new tab with variable name

    Thanks, will do! Appreciate all your help.

  6. #16
    MrExcel MVP
    Moderator
    Fluff's Avatar
    Join Date
    Jun 2014
    Location
    Chippenham
    Posts
    28,190
    Post Thanks / Like
    Mentioned
    470 Post(s)
    Tagged
    47 Thread(s)

    Default Re: VBA - How to call a new tab with variable name

    You're welcome & thanks for the feedback
    - Posting Data try one of these tools
    - Posting guidelines, forum rules and terms of use
    - Read the FAQs

    Running Office 365 on Win 10

  7. #17
    Board Regular
    Join Date
    Aug 2016
    Posts
    132
    Post Thanks / Like
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Default Re: VBA - How to call a new tab with variable name

    for anyone reading this thread, i just had to add .PasteSpecial xlPasteValidation along with the other paste options....

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •