Excel/VBA Question

ryancgarrett

Board Regular
Joined
Jun 18, 2011
Messages
122
I'm not sure if this is even possible, or if VBA is the appropriate way to go about solving this, but any insights would be appreciated.

I have data in a spreadsheet with enrollment ids, names etc. I am currently copying the enrollment id from the cell, inserting into this URL:

http://gls.agilix.com/dlap.<wbr>ashx?cmd=getstudentsubmission&<wbr>itemid=7L5RK&enrollmentid=[<wbr>INSERT_ENROLLMENT_ID]&<wbr>packagetype=data

and it pulls up a bunch of xml code. I then copy the xml code, paste into Notepad and save as an xml file. I then open with excel and sort the data as I want it.

The problem is, I have hundreds of students to find this information for. Can i use VBA to have Excel grab the data from the web automatically inserting the enrollment ID and then saving it either as a new file or in a new tab within the same file?

I have worked a little with VBA in some of my college classes but nothing as advanced as this. Again, any ideas or suggestions are greatly appreciated.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi,

Yes, it should be possible to automate that process. As a starting point see this article:
XML in Excel

In the associated comments there is some discussion around how to handle multiple files.
 
Upvote 0

Forum statistics

Threads
1,223,054
Messages
6,169,835
Members
452,284
Latest member
TKM623

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