+ Reply to Thread
Results 1 to 4 of 4

Making a cell mandatory

  1. #1
    Registered User
    Join Date
    07-12-2010
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    26

    Making a cell mandatory

    Hi All,

    Need some help with inserting an extra bit of VB code to an existing sub please?

    I've attached a sample sheet with the VB behind the button as per the real sheet - basically need the code to check if a cell (Date to be Actioned) is filled before running the rest of the sendmail code?

    Could someone help me out with this one please as I am a real newbie to VB!

    Thanks in advance guys!!
    Attached Files Attached Files

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Making a cell mandatory

    Hi Abgirl

    Probably something like this
    Please Login or Register  to view this content.
    Hope that helps.
    John
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    07-12-2010
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Making a cell mandatory

    Hi,
    thanks fir this - but when I try to add this in, i get an error about the 'IF' and also about comments after an END SUB?
    It is me putting something in wrong I have no doubt!

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Making a cell mandatory

    Hi Abgirl

    How about posting the code so I can see what's happening.

    John

+ 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