Hi,
I am totally new to the forum and to VBA as well. I am preparing an Excel file and for certain functions I need macros, so I looked up one on the forums modified it a bit, but I still need to do something that exceeds my knowledge (converging to zero anyway). I have decided to learn a bit of VBA later on but as this matter is urgent I don't have enough time to do it all by myself.
Here's the thing.
It's basically a form with fields to fill in. Some of these are mandatory ones, so I entered a macro for that (see below). What I need is a little addition. There are 4 sheets in the form and the client will only fill in one of them in most of the cases. However, the macro entered, which pops up upon saving (saying that all mandatory cells need to be filled in) watches the whole file with all 4 sheets. I would like something, with which this macro with the pop-up is only activated on the sheets that are being used/filled in. Something like "if at least one cell is filled in on sheet x, activate macro). Or something that fits the purpose. Here's the code so far. I appreciate all the help.
Bookmarks