Rebel
New Member
- Joined
- Dec 12, 2011
- Messages
- 8
Hello,
I apologize if this has been asked anywhere, but I could not find an answer to it. I have to say that I am not familiar with VBA right away, so please do not expect much from me. I have coded in C, C++, JAVA etc., but VBA I am not familiar with.
Anyway, here is what I am trying to find out:
Is it possible to write a VBA script that will check a value in a cell and give you a popup message during spreadsheet closing where it will display the value?
Basically I need to check a cell value and display it and give maybe 2 different messages to the user e.g. If the cell value is >=1 "Cell value is such and such" and if the value =0 "This is a new message". And once I click on the OK button, it can close a spreadsheet. I am basically trying to remind the user about the value before they leave the spreadsheet.
Is this (or something similar) possible in Excel using the VBA? I am open to any other suggestions, but I don't know how sufficient a macro would be in this case because I would like to make it automatic. I could maybe use a macro and tie it to a button that will do more things at once, but I think script would be cleaner if that is possible.
Thanks so much guys, you have a great problem/solution blog here, keep up the good work.
I apologize if this has been asked anywhere, but I could not find an answer to it. I have to say that I am not familiar with VBA right away, so please do not expect much from me. I have coded in C, C++, JAVA etc., but VBA I am not familiar with.
Anyway, here is what I am trying to find out:
Is it possible to write a VBA script that will check a value in a cell and give you a popup message during spreadsheet closing where it will display the value?
Basically I need to check a cell value and display it and give maybe 2 different messages to the user e.g. If the cell value is >=1 "Cell value is such and such" and if the value =0 "This is a new message". And once I click on the OK button, it can close a spreadsheet. I am basically trying to remind the user about the value before they leave the spreadsheet.
Is this (or something similar) possible in Excel using the VBA? I am open to any other suggestions, but I don't know how sufficient a macro would be in this case because I would like to make it automatic. I could maybe use a macro and tie it to a button that will do more things at once, but I think script would be cleaner if that is possible.
Thanks so much guys, you have a great problem/solution blog here, keep up the good work.