+ Reply to Thread
Results 1 to 2 of 2

Conditional mandatory field ?

  1. #1
    Registered User
    Join Date
    03-29-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    1

    Conditional mandatory field ?

    Hi
    I've seen threads about making a field mandatory so the workbook can't be closed unless it's filled in, but I have a variation on this theme.
    It's an expenses claim form, where if a value other than 0 is entered in a particular column (R), any row, being client entertaining expenses, then 2 other fields on the same row as the entered value (S & T) become mandatory, the name of the client, and the names of people being entertained (a text field with names seperated by commas, for instance).
    Could anyone reply with a piece of vb and the details of where to put this code ?
    thanks in advance
    Peter
    Ps. I've attached the draft claim sheet. It would also be nice if columns s &t were hidden unless an amount was entered in column r.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-14-2012
    Location
    Arizona USA
    MS-Off Ver
    Excel 2000/2007
    Posts
    408

    Re: Conditional mandatory field ?

    See attached modified expense template.
    Attached Files Attached Files

+ 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