+ Reply to Thread
Results 1 to 7 of 7

Cell Input checker

  1. #1
    Forum Contributor
    Join Date
    06-11-2009
    Location
    glasgow
    MS-Off Ver
    Excel 2003
    Posts
    100

    Cell Input checker

    Is there a code that I could use to check that information has been inputted by the user in to a cell. E.g. Check that A1 the user has entered their name, before the rest of the macro that I have written will run. If they haven't a message box will appear to tell them what is wrong and then select cell A1 for them to input the necessary information.

    Thanks
    Last edited by stevewilde; 11-02-2009 at 07:29 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Cell Input checker

    In basis terms - along the lines of:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-11-2009
    Location
    glasgow
    MS-Off Ver
    Excel 2003
    Posts
    100

    Re: Cell Input checker

    Thanks for the reply. The code did work but once I clicked ok on the message box, the rest of my code ran anyway - is there a way to terminate the macro until A1 is filled in??

    Thanks
    Last edited by DonkeyOte; 11-02-2009 at 07:05 AM. Reason: removed unnecessary quote

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Cell Input checker

    Oh dear - what is wrong with me today ??

    I forgot THE main line of code:

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    06-11-2009
    Location
    glasgow
    MS-Off Ver
    Excel 2003
    Posts
    100

    Re: Cell Input checker

    All sorted - thanks ever so much for the help!!
    Last edited by DonkeyOte; 11-02-2009 at 07:29 AM. Reason: unnecessary quote removed

  6. #6
    Valued Forum Contributor
    Join Date
    07-21-2008
    Location
    London, UK
    Posts
    326

    Re: Cell Input checker

    Get it right ah

    Your need to edit this a bit -- try and test see what you think
    Please Login or Register  to view this content.
    Last edited by Jack in the UK; 11-02-2009 at 09:01 AM.

  7. #7
    Forum Contributor
    Join Date
    06-11-2009
    Location
    glasgow
    MS-Off Ver
    Excel 2003
    Posts
    100

    Re: Cell Input checker

    Thanks for this alternative

+ 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