Hi Greg.
We are already getting other data into the spreadsheets with a web
service. But when I suggested doing that to get this data, the other
programmers on the team seemed to feel that would be too big of a
project. Thus my question here to find out what would be the simplest
way.
Hum... The simplest way... What if instead of a web service you
published an XML file with all the data every day or every few hours.
That way you wouldn't have to build a web service and your Excel
Worksheet would be able to get the latest published set of data.
Optionally, if your vendors are OK with it, you can create a bat
script that ftp's to your site and downloads the XML file and stores
it in a spot that vendors can administrate themselves. The
configuration issues can be ugly, but that might make things easier on
your end for your administrators to handle, if say, they are on board
with setting up ftp but don't want you to store a file the corporate
web site.
Also, you can use geocites or dot-mac or whatever, you could save the
XML file anywhere - it doesn't have to be on your corporate site.
There is a separate mechanism for vendors to upload their data to us.
I haven't seen it.
Yeah, for advice you have to tell us what that mechanism is.
For a simple thing ... I wondered was whether *you* had Outlook to use
as the mechanism. Because if you do then you can write Outlook VBA
that will execute VBA code (parse XML attached in the file and insert
the data into a database and perhaps publish the updated version of
the xml file).
So long as you have access to that mailbox and access to shared drives
you can do lots of stuff.
Probably not, though Excel 97 (at least) is already required for the
VBA already in place.
An XML solution might require users install MSXML and possibly MSXSL
on XP SP1. These are straightforward downloads. You might hit the
lucky jackpot and get by on 97.
I'm pretty sure we can't assume all vendors are on Exchange.
Sorry, I wasn't thinking of the vendors, I was thinking of you and the
upload mechanism.
I'm not sure what you mean. I understand in general what a race
condition is, but how would it apply to this situation?
A race condition occurs when you publish, both Vender A and B get a
Workbook. then vendor A publishes, then vendor B publishes but
overwrites some of what vendor A saved.
Recreating all the functionality in all of these workbooks in a new
web application would take more money and time than they want to
commit at this point.
Saving data in a Worksheet to an XML file is easy to do. I mean, if
that's too time consuming then they really aren't interested in doing
the project.
There is a lot of VBA automation in these spreadsheets; last I heard,
google spreadsheets didn't have a macro language. Even if it did,
rewriting all that would probably take more money and time than they
want to commit at this point.
Understood.
We're not looking for a way for users to upload anything to us. That's
already working fine.
Oh.. Then storing the data in a file on your server may be all that
you need to know.