ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   macros (https://www.excelbanter.com/excel-discussion-misc-queries/224899-macros.html)

Frank

macros
 
How can I write a macro that needs to wait for a user to input information
and then continue to finish the macro action

Gary''s Student

macros
 
Just ask for it:

Sub FillMeIn()
x = Application.InputBox(Prompt:="give me some data", Type:=2)
End Sub
--
Gary''s Student - gsnu200840


"Frank" wrote:

How can I write a macro that needs to wait for a user to input information
and then continue to finish the macro action



All times are GMT +1. The time now is 04:31 AM.

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