Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
To show a messagebox
While running a macro , I need to show a message box with some instruction
to the users for the successful running of that macros. So please advice me with a sample code to write a macro to show a messagebox with some instruction. With thanks Pol |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
To show a messagebox
Try this
Dim MyMessage As String MyMessage = "You have to do these things to run my macro" response = MsgBox(MyMessage, vbInformation) Mike "pol" wrote: While running a macro , I need to show a message box with some instruction to the users for the successful running of that macros. So please advice me with a sample code to write a macro to show a messagebox with some instruction. With thanks Pol |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
To show a messagebox
Thanks lot for the reply.
Also Please let me know to give that insturction line by line For example The instruction should be in message box as follows 1. Open the rebate.xls before macros 2. In Rebate.xls, there should be two page Item and discount 3. The result will be given from current cell upto the end of the item details Please help to show the above instruction in a messagebox . as seperate line With many thanks Pol "Mike H" wrote: Try this Dim MyMessage As String MyMessage = "You have to do these things to run my macro" response = MsgBox(MyMessage, vbInformation) Mike "pol" wrote: While running a macro , I need to show a message box with some instruction to the users for the successful running of that macros. So please advice me with a sample code to write a macro to show a messagebox with some instruction. With thanks Pol |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
To show a messagebox
Hi,
Try this Dim MyMessage As String MyMessage = "Open the rebate.xls before macros" & Chr(13) & _ "In Rebate.xls, there should be two page Item and discount" & Chr(13) & _ "The result will be given from current cell upto the end of the item details" response = MsgBox(MyMessage, vbInformation) Mike "pol" wrote: Thanks lot for the reply. Also Please let me know to give that insturction line by line For example The instruction should be in message box as follows 1. Open the rebate.xls before macros 2. In Rebate.xls, there should be two page Item and discount 3. The result will be given from current cell upto the end of the item details Please help to show the above instruction in a messagebox . as seperate line With many thanks Pol "Mike H" wrote: Try this Dim MyMessage As String MyMessage = "You have to do these things to run my macro" response = MsgBox(MyMessage, vbInformation) Mike "pol" wrote: While running a macro , I need to show a message box with some instruction to the users for the successful running of that macros. So please advice me with a sample code to write a macro to show a messagebox with some instruction. With thanks Pol |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
MessageBox with tick box | Excel Discussion (Misc queries) | |||
Simple Yes / No messagebox followed by an if then else formula | Excel Discussion (Misc queries) | |||
Help with MessageBox coding for newbie | Excel Worksheet Functions | |||
messagebox in excel 2003 | Excel Discussion (Misc queries) | |||
Printing messagebox | Excel Discussion (Misc queries) |