Results 1 to 11 of 11

VB Code to comment/uncomment code

Threaded View

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    VB Code to comment/uncomment code

    Hello:

    Please refer to the code below.
    As you can see
    ' Sheets("1").Select is commented

    I want a VB Macro to uncomment that line and comment out line Sheets("2").Select

    Please let know if any questions.

    Riz


    Sub Auto_Open()
    
    '  Sheets("1").Select
     
      Sheets("2").Select
      
    End Sub
    Last edited by rizmomin; 03-24-2013 at 02:03 PM.

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