Multiple Rows into an Open IE Form

litheohm

New Member
Joined
Jan 12, 2017
Messages
2
Hello!

I've got a worksheet with around 47 names. This will vary as staffing fluctuates.

I've got a secure website where each of these names are entered and/or searched for, at least once or twice a day.

Hitting alt+tab, I can copy from the worksheet, move to IE, move back to Excel while IE does its thing to recognize the name and moves it into a separate listbox, then go to the next row and repeat the process. It's fast but painstakingly redundant.

How would one use VBA to...
1) put the name from the active cell (a1, in most instances, unless there's an error--see below)
2) grab the next name while IE recognizes that name
3) put that name into IE

While...
1) waiting for the userform to recognize the name before entering another
2) stopping if there is an error (sometimes names are sent to me spelled differently than in the program in IE)
3) stopping the cycle at the last name on the list (a47 or so, right now)

The website isn't something I can share but I did pull this off the form in question:

[FONT=&quot]
Rich (BB code):
<input class="item-entry-control-[/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]class add-edit-action-item-item-[/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]entry" id="singleLookup" type="text" placeholder="Search" data-bind="SingleItemEntry: {
                        Position: 'bottom',
                [/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]        ItemEntryDataProvider: ItemEntryDataProvider,
   [/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]                     SelectedKey: SingleSelectedKey,
       [/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]                 PlaceHolderText: $.t('wfo.Common:wfo.Search'),&[/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]#10;                        ReadOnly: IsLoading,
               [/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]         IsLoading: IsLoading,
               [/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]         ItemEntryName:'[/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]SingleItemEntryInMultiItemEntr[/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]y'
                    }">
[/FONT]
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Bah, here's the code.

[FONT=&quot]
Rich (BB code):
input class="item-entry-control-[/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]class add-edit-action-item-item-[/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]entry" id="singleLookup" type="text" placeholder="Search" data-bind="SingleItemEntry: {
                        Position: 'bottom',
                [/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]        ItemEntryDataProvider: ItemEntryDataProvider,
   [/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]                     SelectedKey: SingleSelectedKey,
       [/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]                 PlaceHolderText: $.t('wfo.Common:wfo.Search'),&[/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]#10;                        ReadOnly: IsLoading,
               [/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]         IsLoading: IsLoading,
               [/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]         ItemEntryName:'[/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]SingleItemEntryInMultiItemEntr[/FONT]<wbr style="font-family: "Times New Roman", serif; font-size: 16px;">[FONT=&quot]y'
                    }"[/FONT][FONT=&quot]
[/FONT]
 
Upvote 0

Forum statistics

Threads
1,214,952
Messages
6,122,458
Members
449,085
Latest member
ExcelError

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top