+ Reply to Thread
Results 1 to 3 of 3

selecting between worksheets to run codes

  1. #1
    Forum Contributor
    Join Date
    08-03-2012
    Location
    london, england
    MS-Off Ver
    Excel 2003
    Posts
    120

    selecting between worksheets to run codes

    I am running this code from a worksheet called recording.xlsb. I want to run further vba codes but in the worksheet openWB. How can I select the openWB sheet so that further codes are being run in the openwb worsheet and not in the recording.xlsb sheet
    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    11-13-2006
    Posts
    87

    Re: selecting between worksheets to run codes

    I'm sorry, I don't understand the question.

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: selecting between worksheets to run codes

    As far as I can see the code you posted will be run/applied to the workbook that's opened because you fully reference that workbook and a sheet in it.
    If posting code please use code tags, see here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dirty Matching/Reconciliation codes for 2 workbooks or worksheets EXAMPLES WANTED!
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-24-2014, 12:42 PM
  2. [SOLVED] macro codes for inserting formula to various similar worksheets
    By rohit43 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-21-2013, 10:17 AM
  3. Match & highlight codes in worksheets
    By esh27 in forum Excel General
    Replies: 2
    Last Post: 01-20-2009, 08:54 AM
  4. Selecting across worksheets
    By JMS in forum Excel General
    Replies: 1
    Last Post: 07-14-2005, 06:05 PM
  5. [SOLVED] Selecting WorkSheets
    By Jordan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2005, 04:06 PM

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