+ Reply to Thread
Results 1 to 5 of 5

disable button if cell is >0

  1. #1
    Registered User
    Join Date
    01-13-2011
    Location
    new york, usa
    MS-Off Ver
    Excel 2007
    Posts
    52

    disable button if cell is >0

    Hi there!

    Im quite new to excel, this might be an easy one!

    i wanto be able to disable a button (macro) if a certain cell is >0,
    we have a macro that prints the worksheet, then we have another macro that creats a new worksheet, i want that the macro trhat creates the new worksheet shud not work till the current worksheet is printed.

    thanks for the help!

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: disable button if cell is >0

    Why not put a Call to the second macro at the end of the first macro?
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    01-13-2011
    Location
    new york, usa
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: disable button if cell is >0

    Quote Originally Posted by jeffreybrown View Post
    Why not put a Call to the second macro at the end of the first macro?
    as i said: im quite new to excel so please explain.

    thanks for the quick reply though

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: disable button if cell is >0

    Here's an example.

    One button is attached to the first macro and a second button to the second macro.

    If I press the first button it will run and then call the second.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-13-2011
    Location
    new york, usa
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: disable button if cell is >0

    Thanks a million!! ur great!
    Can you try to help me on my other post that i started and no1 answered yet?!
    That'll be super!

+ 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