ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   using record macro, can I stop it to get user input? (https://www.excelbanter.com/excel-programming/420845-using-record-macro-can-i-stop-get-user-input.html)

ceedee

using record macro, can I stop it to get user input?
 
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

FSt1

using record macro, can I stop it to get user input?
 
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

"CeeDee" wrote:

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



All times are GMT +1. The time now is 12:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com