+ Reply to Thread
Results 1 to 3 of 3

Macro activates in wrong sheet

  1. #1
    Registered User
    Join Date
    07-12-2014
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    67

    Macro activates in wrong sheet

    I have a macro that fills a specific cell. When I click a button, the cell is filled. However, when I click the button, it opens another workbook and fills the cell in that one instead.

    thanks,
    Andrew

  2. #2
    Forum Expert
    Join Date
    08-28-2014
    Location
    Texas, USA
    MS-Off Ver
    2016
    Posts
    1,796

    Re: Macro activates in wrong sheet

    So what does the code for that button look like? What workbook/sheet do you want it to run on?

  3. #3
    Registered User
    Join Date
    07-12-2014
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    67

    Re: Macro activates in wrong sheet

    I figured it out. The other day I copied and pasted another sheet onto it, but I didn't paste as values, so it copied that sheet's buttons over it.

+ 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. Navivgation bar that activates selected sheet, then clears contents of the bar
    By jkindustries in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-24-2015, 08:53 AM
  2. Help with running a Macro that activates a different workbook whose name changes
    By jjcarter1988 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-24-2013, 05:45 PM
  3. Automatic updating of cells when sheet activates
    By popperm1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-05-2013, 12:54 PM
  4. Button who activates a macro
    By RoMarius1981 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-20-2012, 07:27 AM
  5. Rectangle that activates a macro
    By in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-07-2005, 03: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