#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro recorded... tabs & file names changed, macro hangs Steve Excel Worksheet Functions 3 October 30th 09 11:41 AM
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
how to count/sum by function/macro to get the number of record to do copy/paste in macro tango Excel Programming 1 October 15th 04 01:16 PM
macro to delete entire rows when column A is blank ...a quick macro vikram Excel Programming 4 May 3rd 04 08:45 PM
Start Macro / Stop Macro / Restart Macro Pete[_13_] Excel Programming 2 November 21st 03 05:04 PM


All times are GMT +1. The time now is 07:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"