R
RamblinWreck
Okay, this is probably the worst way to do things, but I want to link
cell value to a message box. I am basically going to use the messag
box as a method of data validation. If the data value of the cel
exceeds a certain data range, then the message box should pop up an
alert the user that his input data is "out-of-range"
I can't really use the data validation approach. I have a drop dow
menu next to the input data cell to allow for different input units.
This drop down menu is used along with conversion factors to a specifi
unit that I want to use in my calculations.
The attached spreadsheet illustrates my basic dilema. On sheet 1, th
user inputs his length dimension and then selects his units.
On sheet 2, the user's length is converted to an equivalent value i
inches. When the value of cell B7 on sheet2 is not between 5 and 20,
would like a message box to pop up and alert the user to this fact.
The user will never, ever see sheet 2. He will always be on sheet 1
sheet 1 functions as the GUI for the input data and the results.
Sheet2 is where all the caclulations are done.
I realize that my problem is pretty simplistic, but I am still gettin
use to some of the more "powerful" aspects of Excel.
I am assuming that the best way to handle this would be a VBA macro
but I am a little bit at a loss as to how to proceed. First, I can'
figure out how to have the macro always checking the cell on sheet
while the user is actually staying put on sheet 1.
I am middle aged engineer, and I am very comfortable with Fortan, but
can pretty readily figure out C, C++, and Java programs. My point her
is that if somebody wrote a simple macro to handle this problem, I a
confident that I could figure it out (provided the object oriente
stuff doesn't get too complicated).
Thanks for taking the time to read this !
Ton
cell value to a message box. I am basically going to use the messag
box as a method of data validation. If the data value of the cel
exceeds a certain data range, then the message box should pop up an
alert the user that his input data is "out-of-range"
I can't really use the data validation approach. I have a drop dow
menu next to the input data cell to allow for different input units.
This drop down menu is used along with conversion factors to a specifi
unit that I want to use in my calculations.
The attached spreadsheet illustrates my basic dilema. On sheet 1, th
user inputs his length dimension and then selects his units.
On sheet 2, the user's length is converted to an equivalent value i
inches. When the value of cell B7 on sheet2 is not between 5 and 20,
would like a message box to pop up and alert the user to this fact.
The user will never, ever see sheet 2. He will always be on sheet 1
sheet 1 functions as the GUI for the input data and the results.
Sheet2 is where all the caclulations are done.
I realize that my problem is pretty simplistic, but I am still gettin
use to some of the more "powerful" aspects of Excel.
I am assuming that the best way to handle this would be a VBA macro
but I am a little bit at a loss as to how to proceed. First, I can'
figure out how to have the macro always checking the cell on sheet
while the user is actually staying put on sheet 1.
I am middle aged engineer, and I am very comfortable with Fortan, but
can pretty readily figure out C, C++, and Java programs. My point her
is that if somebody wrote a simple macro to handle this problem, I a
confident that I could figure it out (provided the object oriente
stuff doesn't get too complicated).
Thanks for taking the time to read this !
Ton