+ Reply to Thread
Results 1 to 3 of 3

Make a column mandatory if data entered into row

  1. #1
    Registered User
    Join Date
    01-03-2018
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    2

    Wink Make a column mandatory if data entered into row

    Hi all,

    First time poster so please let me know if you need any additional info!

    I have a basic workbook (see image attached) where I want to ensure that if a user enters data into a cell in, for example, row 34 column A and B, they cannot close the workbook or save it without entering yes or no into 34C.
    I also want this rule to continue on for each row every time some new data is entered.
    If anyone can help I would really appreciate it!

    Thank you!

    Untitled1.png

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: Make a column mandatory if data entered into row

    You could use this code (Press Alt+F11 to open vba editor, click on View menu and then in Project Explorer, select This Workbook and paste the code):
    Please Login or Register  to view this content.
    Regards,
    Antonio

  3. #3
    Registered User
    Join Date
    01-03-2018
    Location
    Perth, Australia
    MS-Off Ver
    2016
    Posts
    2

    Re: Make a column mandatory if data entered into row

    Thank you so much Antonio! That worked perfectly

+ 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. [SOLVED] if data is entered in column A, column B should have date automatically entered.
    By exceltriumph in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-30-2016, 12:02 PM
  2. Make Column Mandatory if another cell in same row has data in it.
    By mweick in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-28-2014, 11:16 AM
  3. Replies: 5
    Last Post: 03-20-2013, 12:30 PM
  4. Replies: 14
    Last Post: 01-22-2013, 12:07 PM
  5. How to make data in cells mandatory?
    By r.kondapalli in forum Excel General
    Replies: 8
    Last Post: 01-18-2011, 11:30 AM
  6. Replies: 3
    Last Post: 02-06-2006, 07:10 PM

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