Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Question
How would I go about writing VBA code that will ask for the user to input
number that the macro will then search for? I will be using this macro to look for promotion numbers that change quarterly and I would like to be able to have a message box pop up asking for the promo number. After I enter the promo number, the macro would search for the number I entered. Thank You. Daryl Timm |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Question
Hi Daryl
Sub Test() Cells.Find(What:=InputBox("Now what"), _ LookIn:=xlFormulas, _ LookAt:=xlWhole).Activate End Sub HTH. Best wishes Harald "Daryl Timm" skrev i melding ink.net... How would I go about writing VBA code that will ask for the user to input number that the macro will then search for? I will be using this macro to look for promotion numbers that change quarterly and I would like to be able to have a message box pop up asking for the promo number. After I enter the promo number, the macro would search for the number I entered. Thank You. Daryl Timm |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Question
Thanks Harald,
I appreciate it. "Harald Staff" wrote in message ... Hi Daryl Sub Test() Cells.Find(What:=InputBox("Now what"), _ LookIn:=xlFormulas, _ LookAt:=xlWhole).Activate End Sub HTH. Best wishes Harald "Daryl Timm" skrev i melding ink.net... How would I go about writing VBA code that will ask for the user to input number that the macro will then search for? I will be using this macro to look for promotion numbers that change quarterly and I would like to be able to have a message box pop up asking for the promo number. After I enter the promo number, the macro would search for the number I entered. Thank You. Daryl Timm |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2007 Macro/VB Question DDE Question | Excel Worksheet Functions | |||
where can I see my question and answer? Yesterday I ask a question | Excel Discussion (Misc queries) | |||
Look up question | Excel Worksheet Functions | |||
Newbie Question - Subtraction Formula Question | Excel Discussion (Misc queries) | |||
The question is an excel question that I need to figure out howto do in excel. | Excel Worksheet Functions |