David asks "How can i link something like a message box which works like a hyperlink. I would like something which the user gets asked a question and yes leads to macro and no does nothing."
Use a MsgBox
If MsgBox("My Question", vbYesNo,"Title") = vbYes then 'Do something Else 'Don't do anything End If
By Juan Pablo Gonzalez on 13-Feb-2002
MrExcel.com Consulting can be hired to implement this concept, or many other cool applications, with your data.
MrExcel.com provides examples of Visual Basic procedures for illustration only, without warranty either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. The Visual Basic procedures on this web site are provided "as is" and we do not guarantee that they can be used in all situations.
|