DatabaseDude
Programmer
I'm trying something that may not be possible.
I'm trying to insert a formula into an ADO recordset (along with other columns) using the CopyFromRecordset range function.
Let's say I have these values in my recordset:
If these were pasted into range A1 of a worksheet, I hoped to see this:
Instead, I see this:
Is there a way to get what I'm looking for?
Reason I'm asking: we're trying to maintain the power of CopyFromRecordset in a wide spreadsheet, without having to insert the formulas programmatically in VBA. I realize there are alternatives to insert field values individually, but I wanted to see if this was a way to maximize CopyFromRecordset.
Thanks in advance!
Bryant
I'm trying to insert a formula into an ADO recordset (along with other columns) using the CopyFromRecordset range function.
Let's say I have these values in my recordset:
Code:
5
10
"=A1+B1"
Code:
5 10 15
Code:
5 10 =A1+B1
Reason I'm asking: we're trying to maintain the power of CopyFromRecordset in a wide spreadsheet, without having to insert the formulas programmatically in VBA. I realize there are alternatives to insert field values individually, but I wanted to see if this was a way to maximize CopyFromRecordset.
Thanks in advance!
Bryant