473,546 Members | 2,239 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems automating inVBA

I'm attempting to automate input to an ASP/AJAX web-page using VBA, however,
I've encountered a couple of problems:

1) when selecting from dropdown A manuallly, dropdown B is populated with a
series of options depending on the option selected in drropdown A. While I
can select from dropdown A in VBA, dropdown B never gets updated. Prsumably
I need to trigger some event on the page, but how do I accomplish this in
VBA?

2) clicking a button creates an "on the fly" dropdown depending on the
contents of a textbox. How do I access this dropdown and select an option?

Apologies if these questions seem naive and beginnerish, but I'm working
well outside my comfort zone.
Cliff.
Mar 14 '08 #1
3 1279
"Cliff" <cl**********@v irgin.netwrote in message
news:u_******** *********@newsf e5-win.ntli.net...
I'm attempting to automate input to an ASP/AJAX web-page using VBA
Please clarify which software you are using:

ASP or ASP.NET (AJAX works only in ASP.NET, not ASP)
VBA is Visual Basic for Applications, the programming language which comes
with Microsoft Office, not ASP or ASP.NET
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Mar 14 '08 #2
Apologies for the lack of clarity, as I said, while I've got a fair bit of
experience using VBA to automate Excel, this project is at the limits of my
knowledge and experience.

I'm using VBA to populate the fields on a web-page from data held in Excel
using the Internet Explorer object via GetElementById. I think frm the
research I've been able to make, the page itself was developed iusing
ASP.NET. I hope this helps.

Thank you for taking the time and trouble to reply.
Cliff.
Mar 14 '08 #3
"Cliff" <cl**********@v irgin.netwrote in message
news:u_******** *********@newsf e3-win.ntli.net...
Apologies for the lack of clarity, as I said, while I've got a fair bit of
experience using VBA to automate Excel, this project is at the limits of
my knowledge and experience.
Hmm - OK...
I'm using VBA to populate the fields on a web-page from data held in Excel
using the Internet Explorer object via GetElementById. I think frm the
research I've been able to make, the page itself was developed iusing
ASP.NET. I hope this helps.
Please post your code...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Mar 14 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1335
by: Axel Kowald | last post by:
Hi everybody, I try to use python2.2 to automate Sigmaplot 8 via the COM interface. I can fill data into a worksheet, but have problems to create a graph :-( When I use the CreateGraphWizard method I always get the error message: "com_error: (-2147352567, 'Exception occurred.', (65535, 'SigmaPlot 8.0', 'Invalid error bar source...
6
4325
by: Charles Banas | last post by:
weird subject - i hope more than just one curious regular will hear me out. :) ok, i've got a bit of a big problem, and i need answers as soon as possible. i know this forum is meant for web developers, but is relevant discussion. i'm not OT here unless someone thinks i'm trolling (which i'm not, obviously). then i'll disappear and...
12
19565
by: SunshineGirl | last post by:
I'm trying to receive events from a running instance of Internet Explorer. So far I've only been able to receive events from an instance I launch from code, but I need to receive events from all running instances of Internet Explorer (I mean those that the user launches himself). I know this is possible because I did it three months ago....
7
2618
by: xzzy | last post by:
I need to automate a report in a different database (and thank yous to Terry Kreft for pointing me in the right direction). below is the code with the one line that does not work, marked: 'Does not Work' It appears that the type of object returned from the "AllReports" collection is not a report object. =>> I need it to be an object of...
1
2035
by: EnriqueM | last post by:
One question: I created an access database that has been extremely useful in my work. I dont' even know at what level of knowledge I am at. I read a lot about how to create a database, created many tables, connected them and then created different kinds of queries. (One thing I have never done is reports, because I really don't need them) I...
2
1929
by: M. C | last post by:
Hello, Since I installed Office 2003, I'm experiencing problems with an automation procedure in Access (created in Access 2000) that colonizes fields in a Word merge file. I keep getting a warning saying that it is not a merge file, even thought it has been predefined as such with all the fields. I relinked it to a query, but when I run...
2
1427
by: Chris Potter | last post by:
I have a problem. I am constructing a database of eople's names and addresses for business purposes. This requires all of the people to be numbered eg: 1,2,3,4,5,6,7,8,9,10 But the problem lies here: if I have to ever alter the names, I would have to alter the numbers, which may require slotting someone in between two people:...
4
3218
by: Supa Hoopsa | last post by:
I am in the process of rewriting an MS Access application (access front end with SQL 2k database) in VB.NET and one of the things I would like to do is link in to the compiled Access ADE so that I can use the reports that have already been created. I have somewhere in the region of 200 reports already created in MS Access and I really don't want...
4
4975
by: Bit byte | last post by:
I have a project that I normally build (without problems) from the DevStudio IDE. However, I have embarked on automating all my builds (this test project being one of several). The project creates a DLL. I am able to build the project without any probs in the IDE, however - when I build the project from the command line (using the same...
0
7504
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7694
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7792
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5080
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3491
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1921
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1046
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.