+ Reply to Thread
Results 1 to 4 of 4

Macro Button in Sheet 1 performs action in Sheet 2

  1. #1
    Registered User
    Join Date
    05-24-2013
    Location
    Houston, USA
    MS-Off Ver
    Excel 2007
    Posts
    18

    Macro Button in Sheet 1 performs action in Sheet 2

    My question concerns the operation of a macro when it has been assigned to a button. Is it possible to place a macro button in sheet 1 of a 2 sheet workbook, and have it operate the macro on the raw data in sheet 2 ? If yes how would I go about doing that ?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Macro Button in Sheet 1 performs action in Sheet 2

    Just fully qualify all range and cell references.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    05-24-2013
    Location
    Houston, USA
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: Macro Button in Sheet 1 performs action in Sheet 2

    Many thanks for the quick reply.

    However as I am a complete novice with macros, could you explain how I would do that.

    Regards,
    Cymraeg

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Macro Button in Sheet 1 performs action in Sheet 2

    Hard for me to explain when I don't know what your workbook, worksheets or data look like, nor what you want the macro to do.

    Do you have any code that already works on a sheet ... you just wish to initiate it by pressing a button on another sheet?

    Full qualified would look something like:

    Please Login or Register  to view this content.

    Regards, TMS

+ 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