Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Macro. XML - Excel

We have several different "Forms" that field agents complete, part of the
completion process is having the form emailed to the office.
Somewhere a macro automatically takes these attachment forms and saves them
into a folder.
Every half hour IT have it so the system takes these reports and adds them
to the mainframe (HP Reflections).

Someone is asking me for a report to show trends and to basically compare
data. And what I basically need is to open 8500 XML sheets, get the
information from a handful of fields, for each sheet, and add them to the
list. I currently have a sheet with the complete filename in column A and the
filename without the path in column B.

What I usually do in instances like this is have a cell with "1" in it, and
do index's off this number, then have a macro open the sheet, use the data,
then close the sheet; have it change 1 to 2, and the index's change to the
next one, then open / close / etc. When I opened the first sheet manually to
try and set up a VLOOKUP() INDIRECT() the sheet opened was called "Book11"
rather than the name of the file.

Also, I was using the top option when opening the XML sheet ("As an XML
List") and not all the data was in row 2, sometimes it was staggered over
several lines, sometimes simply repeated 20 or so times...

Is there an easy way to get the same information from 8500 .xml sheets using
code/formulas?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Macro. XML - Excel

Doesn't matter. Sorted it by using the Read Only option, which works well :)

"PaulW" wrote:

We have several different "Forms" that field agents complete, part of the
completion process is having the form emailed to the office.
Somewhere a macro automatically takes these attachment forms and saves them
into a folder.
Every half hour IT have it so the system takes these reports and adds them
to the mainframe (HP Reflections).

Someone is asking me for a report to show trends and to basically compare
data. And what I basically need is to open 8500 XML sheets, get the
information from a handful of fields, for each sheet, and add them to the
list. I currently have a sheet with the complete filename in column A and the
filename without the path in column B.

What I usually do in instances like this is have a cell with "1" in it, and
do index's off this number, then have a macro open the sheet, use the data,
then close the sheet; have it change 1 to 2, and the index's change to the
next one, then open / close / etc. When I opened the first sheet manually to
try and set up a VLOOKUP() INDIRECT() the sheet opened was called "Book11"
rather than the name of the file.

Also, I was using the top option when opening the XML sheet ("As an XML
List") and not all the data was in row 2, sometimes it was staggered over
several lines, sometimes simply repeated 20 or so times...

Is there an easy way to get the same information from 8500 .xml sheets using
code/formulas?

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 Help Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 3 February 5th 07 08:22 PM
Call macro stored in Excel workbook from Outlook's macro Gvaram Excel Programming 0 October 4th 06 05:47 PM
Need syntax for RUNning a Word macro with an argument, called from an Excel macro Steve[_84_] Excel Programming 3 July 6th 06 07:42 PM
translate lotus 1-2-3 macro into excel macro using excel 2000 krutledge0209 Excel Programming 1 November 2nd 04 05:50 PM


All times are GMT +1. The time now is 12:53 PM.

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"