Lotus ? command

D

Dave Peterson

I don't remember the old Lotus macros, but didn't that pause allow the user to
do something and then continue?

If yes, then there are a couple of things you may want to use in VBA.

If you want to get something back from the user:

dim myStr as string
mystr = Inputbox(Prompt:="enter a string")

dim resp as long
resp = msgbox(Prompt:="Want to continue?",buttons:=vbyesno)
if resp = vbno then
exit sub 'quit
end if

or if you want to just give them a message:
msgbox "The process is about half done"

or not pausing, but just showing some text in the statusbar:

application.statusbar = "howdy!"
....
application.statusbar = false 'give it back to excel
 
D

Don Guillett

If you mean to pause to enter something look in the vba help index for
Input box
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top