Cells required before close

RattlingCarp3048

Board Regular
Joined
Jan 12, 2022
Messages
203
Office Version
  1. 365
Platform
  1. Windows
I have a shared workbook that anyone can add data to. The user will open the workbook and add data to the next available row. Column A is always filled in 100% when they add data. If data is entered into column A, then columns B-J are required. Problem is...users are constantly leaving some portion of B-J empty and i am having to remind them or go behind them to fill in the information and that is just waaaaayyyy too much upkeep for one person. I suspect VBA would be the best way to go about this but im open to other options. The actual text itself doesnt matter.

Can someone help with a way to prevent the workbook from being closed if column A is not blank and any cell on that row between B-J is blank then the workbook will not close? Bonus points for an error message that tells the user which cell they left blank.

Any and all help appreciated :)

1737132150900.png



free textdropdown listdropdown listdatedateformuladropdown listfree textdropdown listdropdown list
apple1single1/17/20251/17/2025mmmmpaidgranny smithyesnoa=not blank and B-J are completed = close workbook
banana3bundles1/17/20251/17/2025mmmmpaid yesyesa=not blank and no data in H = workbook will not close
grape1packages1/17/20251/17/2025mmmm package of red grapesnoyesa=not blank and no data in G = workbook will not close
kiwi4 1/17/20251/17/2025mmmmpendingyellow kiwi'snonoa=not blank and no data in C = workbook will not close
a=blank = close workbook
 

Attachments

  • 1737132002139.png
    1737132002139.png
    23 KB · Views: 0

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,225,606
Messages
6,185,956
Members
453,333
Latest member
BioCoder84

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top