IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Excel frustrations
I'm writing out Excel files in XML format, and for the most part everything works as advertized. But there are a few things that are driving me to distraction.

Column based Formulas: I can't see a way to make a column be always calculated from a formula. Sure, I could write out the formula on each and every of the possible 65,536 rows, but ain't there a way to say that a column is just a function of the other values contained on this row. Something like:
ABC
helloworldhello - world
foobarfoo - bar
foobazfoo - baz
where the third column is defined as =A&" - "&B.

New Rows: Ok, short of having column definitions, shouldn't it be possible to tell excel that all the formatting and validation information for any new rows added by the user should be the same as the last row's. Can't seem to figure out a way to do such.

Arrays in Formulas: Excel's formula language is noteworthy for cutting short of it's logical conclusions. Why can't a formula manipulate a range in a useful fashion. Ok, they are not bad for coming up with a single value, but what if you are trying to apply a range of values used for validation (e.g. drop down lists). Using the table above, what if I wanted to say that my dropdown was a function of "foo", such that the dropwdown shows "bar" and "baz"? Only way I can figure out is to have a helper set of cells that has a column for "hello" and a column for "foo" and then uses an Indirect reference to those cells. Why does the validation language have to be so crippled that it can not do the simplest of criteria formulas on a range of cells and columns?

New Nit
Excel == spreadsheet for arithmetic operations
Access = Database for data operations.

I know, everyone uses Excel for everything EXCEPT arthmetic operations.

\\rant
A good friend will come and bail you out of jail ... but, a true friend will be sitting next to you saying, "Damn...that was fun!"
New Well, if Access had a xml file format and browser reader
And it was a standard part of Office (but alas, MS charges extra for it because they can).... Well, let's just say that Access also has a unique set of frustrations.

True, I am probably misapplying Excel for my own purposes. The frustration is not that it is incapable of doing what I want to do. Rather, it's close to the target but very verbose in the actual solutions - misdirection having to be applied all the way around.
New Re: Well, if Access had a xml file format and browser reader
from office.microsoft.com

Exporting to XML from Access\tHelp
Assistance > Access 2003 > Working with Data > External Data

Show AllShow All
Hide AllHide All
Applies to
Microsoft Office Access 2003
Microsoft Access 2002

In Access 2002 or later, you can output data to Extensible Markup Language (XML) by exporting to an XML document. You can also output schema files to specific the structure of the XML document as well as a style sheet to describe the presentation of your data.

HideExport a table, query, form, or report as XML

1. In the Database window, click the name of the table, query, form, or report that you want to export, and then on the File menu, click Export.
2. In the Save as type box, click XML Documents (*.xml).
3. Click the arrow to the right of the Save in box, and select the drive or folder to export to.
4. In the File name box, enter a name for the file, and then click Export.
5. In the Export XML dialog box, do one or more of the following:
* To export the data to an XML document, select Data (XML).
* To export the schema to an XML file, select Schema of the data.
* To format your table or query data by using an Extensible Style Language file, select Presentation of your data (XSL).

Note The Data check box must be selected for the Presentation of your data (XSL) drop-down box to be available.
6. Click OK to export to the XML document.

ShowSet advanced options for exporting XML files
Play I Some Music w/ Papa Andy
Saturday 8 PM - 11 PM ET
All Night Rewind 11 PM - 5 PM
Reggae, African and Caribbean Music
[link|http://wxxe.org|Tune In]
New Going the other way around.
Not using Office at all to generate the files, simply exporting a generated XML file that Excel understands. There's probably a way to get XML data into an Access Database, but I'd have to generate all the various things to make it a turnkey interface (i.e. we want to have it be automatically understood and then reimportable into the system (saving the file back as an xml document and then uploading it).

Anyhow, it's academic since excel is the Chosen One - much more pervasive for the account execs than is Access.
New You will have to write a function for it.
Or a VB module, add push buttons and such.

Excel is NOT friendly in the regard AT ALL!

I wrote a cash-flow balance sheet, to carry forward values was a pain, it sucked. I ended up making the thing in 123, then opening up that in Excel. Then added the functionality 123 had based on what I saw the differences were. Thereby re-inventing the wheel, in excel, Lotus123 had already mastered by the early versions that had no wysiwyg in them.

Good luck.

--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
[image|http://www.danasoft.com/vipersig.jpg||||]
New Don't think their XML format supports script riders...
...and I probably wouldn't use it at any rate (can't afford the danger of someone thinking we're spreading macro virii). Not really trying to build a full excel interface. Just some simple precautions and protections - which can be easily defeated.
New Nevermind, didn't answer the right question
~~~)-Steven----

"I want you to remember that no bastard ever won a war by dying for his country.
He won it by making the other poor dumb bastard die for his country..."

General George S. Patton
Expand Edited by Steven A S May 23, 2005, 02:26:43 PM EDT
     Excel frustrations - (ChrisR) - (7)
         Nit - (jbrabeck) - (3)
             Well, if Access had a xml file format and browser reader - (ChrisR) - (2)
                 Re: Well, if Access had a xml file format and browser reader - (andread) - (1)
                     Going the other way around. - (ChrisR)
         You will have to write a function for it. - (folkert) - (1)
             Don't think their XML format supports script riders... - (ChrisR)
         Nevermind, didn't answer the right question -NT - (Steven A S)

It looks like food.
94 ms