+ Reply to Thread
Results 1 to 6 of 6

Macro to display msgbox before close IF checkbox is ticked

  1. #1
    Registered User
    Join Date
    07-18-2016
    Location
    Sydney, Australia
    MS-Off Ver
    2010
    Posts
    4

    Macro to display msgbox before close IF checkbox is ticked

    I'm trying to develop a workbook that a Director can tick a box and once that box is ticked, it will remind the accountant to perform a certain task on close, up until the point they tick an additional box stating the task has been completed, upon which the reminder will cease to display.

    I can get the message box to appear upon close but can't link it to appear only if a certain checkbox is ticked.

    Any help would be appreciated.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,859

    Re: Macro to display msgbox before close IF checkbox is ticked

    Post your code so we can analyze and adjust it.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    07-18-2016
    Location
    Sydney, Australia
    MS-Off Ver
    2010
    Posts
    4

    Re: Macro to display msgbox before close IF checkbox is ticked

    This obviously creates the msgbox upon close. As to inserting an IF checkbox has a value I'm not too sure where to start:
    Please Login or Register  to view this content.
    Last edited by alansidman; 07-18-2016 at 09:14 PM.

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,859

    Re: Macro to display msgbox before close IF checkbox is ticked

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)

  5. #5
    Registered User
    Join Date
    07-18-2016
    Location
    Sydney, Australia
    MS-Off Ver
    2010
    Posts
    4

    Re: Macro to display msgbox before close IF checkbox is ticked

    Sorry, 1st post, not entirely sure of what to do. Is this right?

    Please Login or Register  to view this content.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,859

    Re: Macro to display msgbox before close IF checkbox is ticked

    Here is code that will run on opening the workbook. Put it in the Workbook_Open event.

    Please Login or Register  to view this content.

+ 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. Macro to print selected(ticked) ticked rows.
    By emymeeky in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-08-2014, 04:13 PM
  2. [SOLVED] If cell value then Checkbox is ticked ?
    By Lukael in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-18-2014, 08:28 AM
  3. Lock cell linked to checkbox when checkbox is ticked
    By simeony003 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-30-2013, 10:08 AM
  4. How do I enable optionboxes only when a checkbox is ticked?
    By Ings in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2013, 01:07 AM
  5. If Checkbox is Ticked and Cell has Value then Run Macro
    By Heavenkissing in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2011, 10:34 AM
  6. The sum of a column, EXCEPT when a checkbox is ticked
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2011, 02:26 PM
  7. Add value when checkbox is ticked
    By emel24 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-29-2006, 05:21 AM

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