+ Reply to Thread
Results 1 to 4 of 4

Find Macro across workbook

Hybrid View

  1. #1
    alfred.cloutier@gmail.com
    Guest

    Find Macro across workbook

    My find macro can find data across the entire workbook--across many
    sheets, but when it finds the data, it doesn't *go* there. If I am
    looking at one sheet and hit my macro, and the data is on another
    sheet, it finds it on the other sheet, but it doesn't switch my view to
    that next sheet. How do I do this?

    my macro as it is now:

    Sub seech()
    '
    ' seech Macro
    ' Macro recorded 1/3/2006 by L Cloutier
    '
    ' Keyboard Shortcut: Option+Cmd+q
    '
    Cells.FindNext(After:=ActiveCell).Activate
    ActiveCell.Activate
    End Sub


  2. #2
    John Michl
    Guest

    Re: Find Macro across workbook

    I believe you need to activate the sheet before activating the cell.

    - John


  3. #3
    alfred.cloutier@gmail.com
    Guest

    Re: Find Macro across workbook

    I'm a newbie; what syntax would I use to activate the sheet before
    activating the cell?


  4. #4
    John Michl
    Guest

    Re: Find Macro across workbook

    Sheets("Sheet1").Activate where Sheet1 is the name of the sheet your
    are trying to activate. I'm not a VBA expert but it seems redundant
    that you have to use the Activate method on the Active Cell. You might
    post your message in the microsoft.public.excel.worksheet.programming
    forum to get VBA help.

    - John


+ Reply to Thread

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