View Single Post
 
Old 12-26-2014, 06:46 PM
Bruno Campanini Bruno Campanini is offline Windows 8 Office 2013
Novice
 
Join Date: Nov 2014
Posts: 19
Bruno Campanini is on a distinguished road
Default

Quote:
Originally Posted by hussnainh8 View Post
Hi,

So I have tried my best to use VBA to write a code which shows a message when cells D9 to D16 cannot stay empty. This is for the sheet "order processing screen" How can I do this? I tried my best but cannot seem to get it working. Any help? I have attached the workbook with this thread if anyone wants to open it up and write the code for me, feel free to do that as it has given me a headache now.. The password for the Excel workbook is "hussnain" no capitals etc. You have to unprotect the work sheet to make changes to it. Please help anyone!!

Thank you.
The small routine I added (Private Sub Workbook_SheetChange())
works that way:
every time you change a value in a A:J range of the sheet, the code
checks the D cell for zero value and sends a message.

It's not practical: may be you want D cell to be checked after completion
of A:C range, or something like that.
You didn't give enough info...

Bruno
Attached Files
File Type: xlsm Task 1 P2.xlsm (123.0 KB, 13 views)
Reply With Quote