+ Reply to Thread
Results 1 to 6 of 6

Having a pop up window based on some conditions

  1. #1
    Registered User
    Join Date
    03-04-2019
    Location
    USA
    MS-Off Ver
    Microsoft 365 - V2308
    Posts
    33

    Having a pop up window based on some conditions

    Hi,
    I want a popup window reminding users to do something based on the following conditions:
    if something is typed in column A (can be any cells), but the corresponding cells in column C does not have any value. However, if the corresponding cell in column C have a value (or users first type a value in it before typing in column a, corresponding cell), there should n't be any pop up message.

    Any idea on how to do this?
    Thanks,

  2. #2
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Having a pop up window based on some conditions

    Please Login or Register  to view this content.
    put the code in the worksheet code module.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  3. #3
    Registered User
    Join Date
    03-04-2019
    Location
    USA
    MS-Off Ver
    Microsoft 365 - V2308
    Posts
    33

    Re: Having a pop up window based on some conditions

    Thanks.
    But, how does it know if there is already a value in column C? If there is a value in column C (corresponding cell), then, no pop up window should appear for Colum A .....
    For example, if the user starts typing in column A, cell 1 but there is already a value in column C, cell 1, then, there should be no pop up window informing the user of doing something...
    However, if the user starts typing in column A, cell 1 but there is NO Value in column C, cell 1, then, the user will see the pop up message.

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,026

    Re: Having a pop up window based on some conditions

    Copy and paste this macro into the worksheet code module. Do the following: right click the tab name for your sheet and click 'View Code'. Paste the macro into the empty code window that opens up. Close the code window to return to your sheet.

    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  5. #5
    Registered User
    Join Date
    03-04-2019
    Location
    USA
    MS-Off Ver
    Microsoft 365 - V2308
    Posts
    33

    Re: Having a pop up window based on some conditions

    Thanks.
    But, it is not working. Please have a look at the attached pic. I am interested in the cells that are highlighted; a sheet may have 20 of these sections. So, if the user types something in the small highlighted box and press tab to go to other cells, if there is a value in the highlighted big box, there will be NO POP UP window. Otherwise, a pop up messgae will be shown.
    Thanks,Attachment 618569

  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,026

    Re: Having a pop up window based on some conditions

    I couldn't open the picture. It would be easier to help and test a possible solution if you could attach your file instead of a picture.

+ 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. Switch from Active Window to Variable Window/Rename Varaible Sheet
    By CravingGod in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-04-2016, 09:52 AM
  2. [SOLVED] Copy Tables from IE window to Excel - Need help making code see already opened window
    By mattyp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-27-2015, 08:14 AM
  3. activate a window based on date
    By simeonmein in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-06-2014, 08:50 AM
  4. [SOLVED] Confirmation Popup Window on Cell Change & Cell Delete. (3 conditions)
    By smk224 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-12-2013, 02:51 PM
  5. Replies: 2
    Last Post: 09-11-2013, 04:35 AM
  6. Excel pop up window based on cell text
    By itg in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 02-02-2011, 10:26 AM
  7. Conditional Formatting Based on Time Window
    By sdoremus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2008, 04:48 PM

Tags for this Thread

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