Results 1 to 2 of 2

Code to Select Current Active Sheet

Threaded View

JosueDG Code to Select Current Active... 10-14-2011, 02:35 PM
TMS Re: Code to Select Current... 10-14-2011, 02:50 PM
  1. #1
    Registered User
    Join Date
    07-13-2009
    Location
    North Hollywood
    MS-Off Ver
    Excel 2007
    Posts
    5

    Code to Select Current Active Sheet

    I have a workbook with three worksheets, each named differently (tblQuestionsDC, tblQuestionsRAC, tlbQuestionsATO).

    I need to alter the following string, or a new one, to select whichever worksheet is currently active, may it be tblQuestionsDC, tblQuestionsRAC, or tlbQuestionsATO:

    ActiveWorkbook.Worksheets("tblQuestionsDC").Sort.SortFields.Clear
    Last edited by JosueDG; 10-14-2011 at 04:07 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