MrWhite34
05-19-2010, 01:29 PM
Hi Everyone,
I am writing a macro in Excel 2007 and all is working well except for one sticking point. The macro screen scrapes information from a hummingbird session and posts it on a spreadsheet. Once it has a few key pieces of information from the system, it requests some info from the user, i.e. customer name, division, and administrator the customer is assigned to. To limit the number of input errors, the administrator name is set up as a userform with a combobox. I also want to set up a similar userform/combobox for division.
Here is my issue. The user needs to be able to search the active spreadsheet, or a completely different spreadsheet. If I set the userform as modal, I can't search the spreadsheet. If I set it as modeless, it doesn't wait for a response to continue, and the info posted in that combobox is vital to the continued processing of the macro.
So how can I set a modal userform to allow me to click off and focus on the spreadsheet and then enter the info when it is found. Otherwise, how do I make a macro show a modeless userform and wait for info to be input before continuing.
I'm reasonably new to VBA and am more or less self taught so I'd hope to find a fairly simple method to do this, but none of the forums I have searched have addressed my particular issue.
Thank you in advance for your help.
I am writing a macro in Excel 2007 and all is working well except for one sticking point. The macro screen scrapes information from a hummingbird session and posts it on a spreadsheet. Once it has a few key pieces of information from the system, it requests some info from the user, i.e. customer name, division, and administrator the customer is assigned to. To limit the number of input errors, the administrator name is set up as a userform with a combobox. I also want to set up a similar userform/combobox for division.
Here is my issue. The user needs to be able to search the active spreadsheet, or a completely different spreadsheet. If I set the userform as modal, I can't search the spreadsheet. If I set it as modeless, it doesn't wait for a response to continue, and the info posted in that combobox is vital to the continued processing of the macro.
So how can I set a modal userform to allow me to click off and focus on the spreadsheet and then enter the info when it is found. Otherwise, how do I make a macro show a modeless userform and wait for info to be input before continuing.
I'm reasonably new to VBA and am more or less self taught so I'd hope to find a fairly simple method to do this, but none of the forums I have searched have addressed my particular issue.
Thank you in advance for your help.