• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Running Macro Generates List of Macros

Status
Not open for further replies.

PipBoy808

Member
I've a test workbook with lots of sheets and many different macros in it that I used to test VBA code I've learnt.

I've been using:

Sub activateSheet(sheetname As String)
'activates sheet of specific name
Worksheets(sheetname).Activate
End Sub

in an attempt to activate a specific worksheet. However, whenever I press play, a box pops up containing every other macro in the workbook except this one, so that I can't run my activateSheet macro. Is there any reason why this would happen in particular?
 
Status
Not open for further replies.
Back
Top