NickMulders
New Member
- Joined
- Apr 5, 2016
- Messages
- 8
Hello guys,
I've been trying to combine some codes to make a mandatory cell input before one can save the workbook. the thing is some colleagues have to input values into a cell which is normally blank or 0 before they can close the workbook as this is often forgotten.. The workbook contains multiple tabs and i need the mandatory cell input to be in a workbook that is not opened by default. So lets say the workbook opens on sheet1 but the mandatory input has to be in sheet2 cell C11 before they can close the workbook. I had one instance where I got the code to work but it would prevent me from saving because the cell was blank/zero. I need it to open the workbook clear cell C11 of sheet2 and then have a mandatory input in that cell before it can be saved (with a msgbox on error) I am a VBA newbie and i've tried different codes found on the internet but when one seemed to work the other one cancelled it out... Any help would be greatly appreciated.
Nick
I've been trying to combine some codes to make a mandatory cell input before one can save the workbook. the thing is some colleagues have to input values into a cell which is normally blank or 0 before they can close the workbook as this is often forgotten.. The workbook contains multiple tabs and i need the mandatory cell input to be in a workbook that is not opened by default. So lets say the workbook opens on sheet1 but the mandatory input has to be in sheet2 cell C11 before they can close the workbook. I had one instance where I got the code to work but it would prevent me from saving because the cell was blank/zero. I need it to open the workbook clear cell C11 of sheet2 and then have a mandatory input in that cell before it can be saved (with a msgbox on error) I am a VBA newbie and i've tried different codes found on the internet but when one seemed to work the other one cancelled it out... Any help would be greatly appreciated.
Nick