+ Reply to Thread
Results 1 to 2 of 2

Mandatory fields in Excel

  1. #1
    Registered User
    Join Date
    05-06-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Mandatory fields in Excel

    Morning all,

    I'm working on an Excel workbook where i'd like to make certain columns mandatory. What i've written so far (see below) asks Excel to look at Cell "B4" and if it equals "Addition" then look at Cell "A4" and if blank - prevent the user from saving.

    My questions are as follows:

    1) Instead of asking Excel to look at cell "B4" can I ask it to look at a Cell range (E.G. B4:B78) so if any of those cells equal "Addition" it will then look at the A cell in the same row?
    2) Can I set Excel to look for "Addition", "Deletion" & "Change" ... I can't seem to figure out how to add three values in and make it work,
    3) Third, and last question (promise!!!), is can I make the code do the same for several columns? To elaborate ... If the B column range equals one of the 3 values above then columns "A, C, D and E" must all be filled out before saving the workbook.

    Hope this makes sense,
    Any help would be greatly appreciated!!




    Please Login or Register  to view this content.
    Last edited by Dr4ke; 10-11-2011 at 04:17 AM.

  2. #2
    Registered User
    Join Date
    05-06-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Mandatory fields in Excel

    Apologies.... But it won't let me do this now??

    Edited: I've found it :-) Thank you!

+ 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