ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Pausing a macro for user input (https://www.excelbanter.com/excel-programming/280545-pausing-macro-user-input.html)

Wayne[_5_]

Pausing a macro for user input
 
What is the command to pause a macro so user can input a
line number that changes with each use of the
spreadsheet. Old Lotus command was {?}

steve

Pausing a macro for user input
 
Wayne,

Try this:

Dim x As Long
x = InputBox("What line?", "")
Rows(x).Select

--
sb
"Wayne" wrote in message
...
What is the command to pause a macro so user can input a
line number that changes with each use of the
spreadsheet. Old Lotus command was {?}





All times are GMT +1. The time now is 07:24 PM.

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