How does an "XLM Macro" function different from the XL4 Macro functions which
could be entered on a macro sheet, as I originally described?
XLM and XL4 macro functions are the same thing. Back in the old days, macro
sheets were .XLM files, thus the reason I call them XLM functions. I'm not alone
in using this terminology.
http://www.google.com/[email protected]
That said, any built-in function that could be entered into cell formulas in an
XL2/3/4 .XLS file could also be entered into cell formulas in an XL2/3/4 .XLM
file, *but* macro functions could *only* be entered into .XLM file cell formulas
and never into .XLS cell formulas. It's possible TABLE is a partial exception.
However, since we're a couple of versions past Excel 5, it's a safer assumption
that the OP is looking at a worksheet rather than an XLM macro sheet.
TABLE is listed as such in the Function Reference for XL4 (remember when we
used to get printed manuals for MS products?).
Yup, but it's listed as TABLE and TABLE?. I never used either in any XLM macros
I wrote, and I'm very rusty on XLM coding in general. However, I just created an
XLM macro sheet in XL8 and added the following macro, named foo.
=TABLE(,!A1)
=RETURN()
Then I switched to Sheet1 and created a dummy 1-way data table skeleton, with B1
containing the formula =10*A1 and A2:A6 containing {1;2;3;4;5}. I selected A1:B6
and ran foo, which created a data table out of Sheet1!A1:B6 with B2:B6 appearing
to contain the array formula =TABLE(,A1). So the TABLE function in XLM actually
adds a data table to the active worksheet (XL2/3/4 .XLS) which would appear as
=TABLE(.,.) in that worksheet.
I have no idea why TABLE isn't mentioned as a worksheet function in the old
manuals other than the possibility that Microsoft was embarrassed by using the
same token, TABLE, to represent different things in XLS and XLM worksheets. Or
they just don't give a damn about explaining to mere users/customers what their
software does.
Maybe the OP really is seeing this in an XL4 macro sheet, but I'd be willing to
bet s/he's seeing it in a regular worksheet as a data table. Wouldn't you?