Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
InputBox Help
I'm new to Excel at this level and would like to know how can I create the
following information in VBA? I would like to have an input box open up on a worksheet when the workbook is open asking the following question: Enter your ID. From that information another worksheet would open and capture all the information from the primary worksheet with the information from the ID enter. The ID will have information on the primary worksheet in it's own row that would be copy to the 2nd worksheet. Has anyone done anything close to this before? Help? -- Mark |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
InputBox Help
Hi,
Here is a start: Private Sub Workbook_Open() myInfo = InputBox("Enter your ID") If myInfo < "" Then 'your code End If End Sub This code is entered in the thisWorkbook object in the VBE. For the mycode part, try recording all the steps you want the macro to do. If this helps, please click the Yes button Cheers, Shane Devenshire "Mark" wrote: I'm new to Excel at this level and would like to know how can I create the following information in VBA? I would like to have an input box open up on a worksheet when the workbook is open asking the following question: Enter your ID. From that information another worksheet would open and capture all the information from the primary worksheet with the information from the ID enter. The ID will have information on the primary worksheet in it's own row that would be copy to the 2nd worksheet. Has anyone done anything close to this before? Help? -- Mark |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
InputBox Help
Thanks Shane. This got me started.
-- Mark "Shane Devenshire" wrote: Hi, Here is a start: Private Sub Workbook_Open() myInfo = InputBox("Enter your ID") If myInfo < "" Then 'your code End If End Sub This code is entered in the thisWorkbook object in the VBE. For the mycode part, try recording all the steps you want the macro to do. If this helps, please click the Yes button Cheers, Shane Devenshire "Mark" wrote: I'm new to Excel at this level and would like to know how can I create the following information in VBA? I would like to have an input box open up on a worksheet when the workbook is open asking the following question: Enter your ID. From that information another worksheet would open and capture all the information from the primary worksheet with the information from the ID enter. The ID will have information on the primary worksheet in it's own row that would be copy to the 2nd worksheet. Has anyone done anything close to this before? Help? -- Mark |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
InputBox with VBA | Excel Discussion (Misc queries) | |||
InputBox | Excel Discussion (Misc queries) | |||
InputBox | Excel Discussion (Misc queries) | |||
inputbox | Excel Discussion (Misc queries) | |||
Inputbox with VBA | Excel Discussion (Misc queries) |