On 9/13/2020 8:40 AM, Claus Busch wrote:
Hi,
Am Sun, 13 Sep 2020 08:25:01 -0500 schrieb dpb:
So, with that as background to the Q? -- What would a user function look
like to locate those cells with their content beginning with the "="
sign in a newly-created workbook and use that cell content to set the
formula for the cell?
I hope I understood your problem correctly.
If those cells are in one column then click in the columns header =>
Data => Text to columns => Fixed Width => Finish
Some are, some aren't, unfortunately, the time-consuming part is they're scattered all around the place.
The painful ones are those that operate on a group of rows above them
that aren't necessarily the same number and that are grouped by Fund
which contains subfunds for example.
Appearance to user would look something like--
DONOR ACCT AUTHORIZED
Fred Flintstone F6321 $2,000
Fred Flintstone F6421 $500
Fred Flintstone SUMMARY $2,500
Barney Rubble
...
where the cell content would be
DONOR ACCT AUTHORIZED
Fred Flintstone F6321 $2,000
Fred Flintstone F6423 $500
Fred Flintstone SUMMARY =SUM(H37:H38)
Barney Rubble
...
The reason for the subfunds has to do with other unrelated reasons but
that for accounting purposes we must track income/expense separately for
the subaccounts, not just the total fund.
I can compute/know both the column "H" and rows "37,38" for the
rearranged workbook and easily write the text for the formula in the appropriate cell...it isn't possible (other than by COM that was trying
to avoid in the external app) to write a formula property but I can
write the text.
I was hoping to just run a macro after building the data and text
formulas into the new sheet to automagically convert the formulat text
to the actual cell formula.
I'll try the suggestion but it doesn't actually do the conversion, does it?
Thanks...dpb
--
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)