+ Reply to Thread
Results 1 to 3 of 3

Prevent save if certain cells not filled (Mandetory cells dependent on dropdown list)

Hybrid View

  1. #1
    Registered User
    Join Date
    07-10-2014
    Location
    london
    MS-Off Ver
    2007
    Posts
    5

    Prevent save if certain cells not filled (Mandetory cells dependent on dropdown list)

    Hello All,

    I would be grateful if you could assist me on a problem I’m facing.

    I have a dropdown list in cell a2 (1,2,3,4,5).

    I would like cell b2 to be mandatory to populate if 1 is selected in cell a2 (cell b2 should be highlighted to red and automatically changed to white when populated).
    I would like cell c2 to be mandatory to populate if 2 is selected in cell a2 (cell c2 should be highlighted to red and automatically changed to white when populated).

    And so fourth….

    To make this more difficult, I want to prevent save if a number is selected from the dropdown list. I would also want this formula to work for the entire Column a/worksheet.

    I trust you Excel professionals can help me. I’m using Excel 2007.

    Many thanks.

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Prevent save if certain cells not filled (Mandetory cells dependent on dropdown list)

    First 2 are conditional formatting, and an IF statement, the last bit,
    workbook_beforesave
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    07-10-2014
    Location
    london
    MS-Off Ver
    2007
    Posts
    5

    Re: Prevent save if certain cells not filled (Mandetory cells dependent on dropdown list)

    Thanks i worked out the prevent save bit.

    But having trouble with conditional formatting. Can someone assist me with that please?
    Last edited by bmo7; 07-14-2014 at 07:09 AM.

+ 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. Prevent save unless all cells or certain cells are filled in
    By cvo in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-29-2021, 02:16 PM
  2. VBA to prevent saving if any cells are filled with a certain color
    By ks26 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-29-2014, 04:53 PM
  3. Replies: 6
    Last Post: 10-09-2013, 03:07 PM
  4. Replies: 1
    Last Post: 06-21-2011, 11:46 AM
  5. [SOLVED] How to prevent cursor from moving behind filled cells
    By Spreadsheet Slave in forum Excel General
    Replies: 1
    Last Post: 04-04-2005, 09:06 AM

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