Power Query Course in Spanish
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Creating and Renaming a worksheet in a macro

  1. #1
    Guest

    Default

    I am having a problem with selecting a worksheet after I copy and paste data with a macro into a new worksheet. Excel automatically adds in the next worksheet number i.e. sheet 2,3,4,5,6, etc.

    I wish to create a new worksheet with the name analysis and then create charts with the new sheet.

  2. #2
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi

    Sheets.Add().Name = "Whatever"


Some videos you may like

User Tag List

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
  •