VBA Code to paste cell values into web form

frenchie

New Member
Joined
Sep 3, 2008
Messages
5
I have a CSV file which contains employee data. There are 8 colums and 120 rows. I only need to copy the values from 4 of the columns (FirstName, LastName, EmployeeID and PhoneNumber) into a web form (text boxes) which holds 10 employees. How can I copy 10 rows of data to the web form and submit it and then do the next 10, etc using VBA.
 
Sorry code partial is: Please let me know if you need anything else.

· <FORM METHOD=POST ACTION="processPaths.html"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
· <INPUT TYPE=HIDDEN NAME="action" VALUE="update"><o:p></o:p>
· <INPUT TYPE=HIDDEN NAME="processPathName" VALUE="PPMultiABMedium"><o:p></o:p>
· <FONT SIZE=2><B>PPMultiABMedium (DefaultPicking, pkREBINLEV1)</B></FONT><P><o:p></o:p>
· <TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1><o:p></o:p>
· <TR><o:p></o:p>
· <TD><FONT SIZE=1 ALIGN=LEFT VALIGN=TOP><B>Status</B></FONT></TD><o:p></o:p>
· <TD><FONT SIZE=1 ALIGN=LEFT VALIGN=TOP><B>Demand Window</B></FONT></TD><o:p></o:p>
· <TD><FONT SIZE=1 ALIGN=LEFT VALIGN=TOP><B>Pick Rate Ave</B></FONT></TD><o:p></o:p>
· <TD><FONT SIZE=1 ALIGN=LEFT VALIGN=TOP><B>Process Pad</B></FONT></TD><o:p></o:p>
· <TD><FONT SIZE=1 ALIGN=LEFT VALIGN=TOP><B>Tote Limit</B></FONT></TD><o:p></o:p>
· <TD><FONT SIZE=1 ALIGN=LEFT VALIGN=TOP><B>Shipment Limit</B></FONT></TD><o:p></o:p>
· <TD><FONT SIZE=1 ALIGN=LEFT VALIGN=TOP><B>Batch Limit</B></FONT></TD><o:p></o:p>
· <TD><FONT SIZE=1 ALIGN=LEFT VALIGN=TOP><B>Target Unit Rate</B></FONT></TD><o:p></o:p>
· <TD><FONT SIZE=1 ALIGN=LEFT VALIGN=TOP><B>Min Premium Percent</B></FONT></TD><o:p></o:p>
· <TD><FONT SIZE=1 ALIGN=LEFT VALIGN=TOP><B>Min Priority</B></FONT></TD><o:p></o:p>
· </TR><o:p></o:p>
· <TR><o:p></o:p>
· <TD><o:p></o:p>
· <SELECT NAME="status"><o:p></o:p>
· <OPTION VALUE="Active" SELECTED>Active</OPTION><o:p></o:p>
· <OPTION VALUE="Paused" >Paused</OPTION><o:p></o:p>
· <OPTION VALUE="Halt"> Halt </OPTION><o:p></o:p>
· </SELECT><o:p></o:p>
· </TD><o:p></o:p>
· <TD><INPUT TYPE=TEXT SIZE=8 NAME="demandCompletionWindow" <o:p></o:p>
· VALUE=00:00:00></TD><o:p></o:p>
· <TD><INPUT TYPE=TEXT SIZE=4 NAME="pickRateAverage" VALUE=120></TD><o:p></o:p>
· <TD><INPUT TYPE=TEXT SIZE=8 NAME="processingPad" VALUE=04:00:00></TD><o:p></o:p>
· <TD><INPUT TYPE=TEXT SIZE=4 NAME="containerQuantityLimit" <o:p></o:p>
· VALUE=0></TD><o:p></o:p>
· <TD><INPUT TYPE=TEXT SIZE=6 NAME="openDemandQuantityLimit" <o:p></o:p>
· DISABLED='true'<o:p></o:p>
· VALUE=0></TD><o:p></o:p>
· <TD><INPUT TYPE=TEXT SIZE=6 NAME="openBatchQuantityLimit" <o:p></o:p>
· VALUE=6></TD><o:p></o:p>
· <TD><INPUT TYPE=TEXT SIZE=6 NAME="unitRateTarget" VALUE=1200></TD><o:p></o:p>
· <TD><INPUT TYPE=TEXT SIZE=8 NAME="minPremiumPercent" <o:p></o:p>
· DISABLED='true'<o:p></o:p>
· VALUE=-1></TD><o:p></o:p>
· <TD><o:p></o:p>
· <select name = "minPriority"><o:p></o:p>
· <option VALUE=0 SELECTED>0 - Min Priority</option><o:p></o:p>
· <option VALUE=1 >1 - Super Savers</option><o:p></o:p>
· <option VALUE=4 >4 - Normal/Std</option><o:p></o:p>
· <option VALUE=10 >10 - Premium</option><o:p></o:p>
· <option VALUE=15 >15 - Fast Track</option><o:p></o:p>
· <option VALUE=16 >16 - Same/Next</option><o:p></o:p>
· </select><o:p></o:p>
· </TD><o:p></o:p>
· </TR><o:p></o:p>
· </TABLE><o:p></o:p>
<o:p> </o:p>
· <INPUT TYPE=SUBMIT VALUE="Submit Changes"><o:p></o:p>

 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,216,221
Messages
6,129,585
Members
449,520
Latest member
TBFrieds

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