using record macro, can I stop it to get user input?

C

CeeDee

If I am creating a macro using the macro recorder and not entering lines
using VBA can the process be stoped to allow a user to input information?
Like text, numbers or cell references?
Thanks
CeeDee
 
F

FSt1

hi
the recorder records your actions on the keyboard and mouse only. if you
want your users to have the ablility to input data, you would have to do some
editing of the recorded macro afterwards to add an inputbox.
dim str as string
str = inputbox("Enter something")
if you are unfimilar with the inputbox, read up on it in vb help.

regards
FSt1
 

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