Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro Help
Im a new user to Excel, and new to macros so bear with me.
I am working on a project to transfer all the data from a spreadsheet and enter it into an online form. Each row in the spreadsheet has the information to complete one form. I am trying to write a macro to do this for me. I've been using a 3rd party mouse recording macro to select and copy elements from the spreadsheet into the form. However some information stored in the spreadsheet can only be entered by a pulldown menu in the online form ie. State/Country.. Is there anyway to create a macro to select the correct item from the dropdown that corresponds with the one in the spreadsheet. Sorry if this question seems idiotic but I'm lost. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro Help
The bit I don't understand is why? When you select from a dropdown, you get
a value, but you already have it, so why do you need to simulate the dropdown action? -- HTH Bob Phillips "Philip White via OfficeKB.com" wrote in message ... Im a new user to Excel, and new to macros so bear with me. I am working on a project to transfer all the data from a spreadsheet and enter it into an online form. Each row in the spreadsheet has the information to complete one form. I am trying to write a macro to do this for me. I've been using a 3rd party mouse recording macro to select and copy elements from the spreadsheet into the form. However some information stored in the spreadsheet can only be entered by a pulldown menu in the online form ie. State/Country.. Is there anyway to create a macro to select the correct item from the dropdown that corresponds with the one in the spreadsheet. Sorry if this question seems idiotic but I'm lost. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro Help
the dropdown is on the web form, the information is stored in excel. i need
to get the data from excel and have it correctly select the correct value in the dropdown on the webform. |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro Help
"Philip White via OfficeKB.com" wrote in message ... the dropdown is on the web form, the information is stored in excel. i need to get the data from excel and have it correctly select the correct value in the dropdown on the webform. Examing the website's html source code should review the form variables you want to fill in. However unless you can manipulate the site within Excel, you may need to add a wsh/vbscript to a locally saved version to read the excel values, assign them to the corresponding variables then finish processing the form per the site's original code; in which case usenet(microsoft.public.scripting.vbscript, microsoft.public.scripting.wsh) may be able to assist with the neccessary code. |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro Help
If you're using IE then you can automate it from Excel, but you'll need to
be familiar with web scripting and the HTML document object model. Once you've figured that out you're on your way.... Tim -- Tim Williams Palo Alto, CA "Philip White via OfficeKB.com" wrote in message ... Im a new user to Excel, and new to macros so bear with me. I am working on a project to transfer all the data from a spreadsheet and enter it into an online form. Each row in the spreadsheet has the information to complete one form. I am trying to write a macro to do this for me. I've been using a 3rd party mouse recording macro to select and copy elements from the spreadsheet into the form. However some information stored in the spreadsheet can only be entered by a pulldown menu in the online form ie. State/Country.. Is there anyway to create a macro to select the correct item from the dropdown that corresponds with the one in the spreadsheet. Sorry if this question seems idiotic but I'm lost. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro recorded... tabs & file names changed, macro hangs | Excel Worksheet Functions | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
how to count/sum by function/macro to get the number of record to do copy/paste in macro | Excel Programming | |||
macro to delete entire rows when column A is blank ...a quick macro | Excel Programming | |||
Start Macro / Stop Macro / Restart Macro | Excel Programming |