+ Reply to Thread
Results 1 to 3 of 3

Highlight cells before checking if the cell is empty & send email

  1. #1
    Forum Contributor
    Join Date
    02-12-2018
    Location
    Clearwater, FL
    MS-Off Ver
    MS 365
    Posts
    217

    Highlight cells before checking if the cell is empty & send email

    I have the following macro run when I click on a button.
    Please Login or Register  to view this content.
    I would like when i click on the button for it to highlight those cells to inform the agent which cells need to have data in it and if it is all filled out properly then run this macro. Any help would be greatly appreciated - I have included my workbook for any assistance you can provide!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: Highlight cells before checking if the cell is empty & send email

    You could just use Conditional Formatting. Select one of the required cells and use this CF rule
    Cell Value is equal to =""

    It will be highlighted when empty and not highlighted when filled.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    02-12-2018
    Location
    Clearwater, FL
    MS-Off Ver
    MS 365
    Posts
    217

    Re: Highlight cells before checking if the cell is empty & send email

    That will not work as for each button it could require some of the same cells - basically I want to keep the cells white and when the click on the button to run the macro, I want it to highlight the fields that are required for that macro to run properly!

+ 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. Checking For Empty Cells
    By ALEXJM in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-10-2017, 03:58 PM
  2. Excel to send email to two addresses in two cells? MSG box upon send?
    By sdyer02 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-15-2016, 08:22 PM
  3. Workflow with signatures (if cell=x then send email, if signed then send email)
    By Kate2811 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-25-2014, 05:37 AM
  4. Replies: 6
    Last Post: 12-02-2011, 02:14 PM
  5. Checking empty cells
    By Diez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-21-2006, 03:35 AM
  6. [SOLVED] send email with email addresses in a range of cells
    By Craig in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-10-2005, 05:05 PM
  7. [SOLVED] Checking for empty cells in a range
    By Chris Strug in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM

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