+ Reply to Thread
Results 1 to 2 of 2

removing a macro from routine

  1. #1
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    871

    removing a macro from routine

    I don't understand how macros work completely. I created a macro and assigned to one button.
    I have 2 buttons, whenever I click on button1, its supposed to do another routine. The problem I have is that when I click on button one, its does routine 1, but then I click on button 2 it does both routines. I want to have button 1 to co routine 1 and button 2 to do routine 2 only.
    How can I fix this? please help, thank you.

  2. #2
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    871

    Re: removing a macro from routine

    never mind , I just found the problem, it was in the header, please ignore this thread.

+ 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. [SOLVED] Excel 2016 Sort routine issue - recording macro has sheet name in sort routine
    By pongmeister in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-05-2016, 02:45 PM
  2. [SOLVED] naming a routine and calling it in another routine - not a loop
    By HeyInKy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-16-2015, 11:54 AM
  3. [SOLVED] Call Private Sub Routine From Main Macro
    By timbo1957 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-16-2013, 04:50 AM
  4. Pass a variable from one sub-routine to another sub-routine
    By gowtham_pec in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-01-2013, 07:07 PM
  5. Macro will not run print routine after converting
    By Steven811 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-10-2010, 05:53 AM
  6. Macro with a Password Prompt routine
    By edbhome in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-13-2009, 05:23 PM
  7. Need a Macro/VB routine to copy to test fle
    By Ken Scanlon in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-20-2005, 04:40 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