excel_stuff
Member
Hi,
I need a macro that does the following (and would appreciate your help):
1. MsgBox saying "Your choice means ..." and in place of ... I would like the value in a particular cell.
2. Then I would like Yes and No options to appear below the above text in the message box. If you click No then the message box disappears and you carry on. If you clicked Yes then another message box would appear with a message "xyz". At this point, your screen gets locked unless a password is entered.
Sorry I am asking for too much here but I would appreciate your help (just to assure you that this will help with a research tool I am working on).
I tried the following but (because my skills are rubbish) failed miserably:
Sub Done()
M1 = "Your choice means "
M2 = M1 & ActiveSheet.Range("D5")
MsgBox M2
End Sub
Thanks
ExcelStuff
I need a macro that does the following (and would appreciate your help):
1. MsgBox saying "Your choice means ..." and in place of ... I would like the value in a particular cell.
2. Then I would like Yes and No options to appear below the above text in the message box. If you click No then the message box disappears and you carry on. If you clicked Yes then another message box would appear with a message "xyz". At this point, your screen gets locked unless a password is entered.
Sorry I am asking for too much here but I would appreciate your help (just to assure you that this will help with a research tool I am working on).
I tried the following but (because my skills are rubbish) failed miserably:
Sub Done()
M1 = "Your choice means "
M2 = M1 & ActiveSheet.Range("D5")
MsgBox M2
End Sub
Thanks
ExcelStuff