+ Reply to Thread
Results 1 to 3 of 3

how can I activate a formula if checkbox is checked

  1. #1
    Registered User
    Join Date
    11-09-2019
    Location
    Milan, Italy
    MS-Off Ver
    office 365
    Posts
    69

    how can I activate a formula if checkbox is checked

    hello everybody, I have this checkbox on my userform. When I check it I would like a formula on my worksheet to be activated, if it is not checked then the value in the cell should be "N/A"

    This is the formula in my form!G19
    Please Login or Register  to view this content.
    Any suggestions?

    Thank you for any help

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: how can I activate a formula if checkbox is checked

    Hi,

    One way to do what you want is to use an auxiliary cell on the Workbook ('H19' for example).
    When you Check the CheckBox on the UserForm put 'X' in cell 'H19', otherwise leave cell 'H19' blank.

    Change your formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Lewis

  3. #3
    Registered User
    Join Date
    11-09-2019
    Location
    Milan, Italy
    MS-Off Ver
    office 365
    Posts
    69

    Re: how can I activate a formula if checkbox is checked

    hello Lewis, it works.

    Thank you very much for your help

+ 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] When checkbox is checked it does not copy to new sheet. Only if not checked using false
    By thelisa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2013, 07:59 AM
  2. [SOLVED] include column in sum formula if checkbox is checked
    By jrtaylor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-12-2013, 02:10 PM
  3. [SOLVED] VBA code to uncheck checkbox 2 & 3 if checkbox 1 is checked
    By hydz1213 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-25-2013, 03:10 AM
  4. New workbook won't activate after checked out
    By LiLi1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-29-2010, 05:02 PM
  5. VB checkbox checked?
    By prowsdower in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-13-2009, 12:05 PM
  6. How to have Checkbox A uncheck with checked Checkbox B
    By Texas Aggie 09 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-23-2007, 09:29 AM
  7. Is checkbox is checked?
    By Fred S in forum Excel General
    Replies: 2
    Last Post: 10-18-2005, 11:05 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