ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to store formula in Access table ? (https://www.excelbanter.com/excel-programming/415668-how-store-formula-access-table.html)

kleysonr

How to store formula in Access table ?
 
Hi

I have a table in Access and some fields have formula's stored.
Using 'Get External Data' in Excel, i need that the formula stored become in
a formula in Excel and not just a string.

How can i do it ?

Jim Thomlinson

How to store formula in Access table ?
 
The formula will come back as text. You need to reformat the cells to
general, and then do a find replace on the = sign to activate the formulas...
--
HTH...

Jim Thomlinson


"kleysonr" wrote:

Hi

I have a table in Access and some fields have formula's stored.
Using 'Get External Data' in Excel, i need that the formula stored become in
a formula in Excel and not just a string.

How can i do it ?


kleysonr

How to store formula in Access table ?
 
Jim,

When i use replace in menu Edit-Replace works very well.

But my code don't work
Worksheets(2).Columns("B").Replace What:="=", Replacement:="=",
LookAt:=xlPart, SearchOrder _
:=xlByRows, MatchCase:=False, SearchFormat:=False, ReplaceFormat:=False

What's wrong ?

"Jim Thomlinson" wrote:

The formula will come back as text. You need to reformat the cells to
general, and then do a find replace on the = sign to activate the formulas...
--
HTH...

Jim Thomlinson


"kleysonr" wrote:

Hi

I have a table in Access and some fields have formula's stored.
Using 'Get External Data' in Excel, i need that the formula stored become in
a formula in Excel and not just a string.

How can i do it ?



All times are GMT +1. The time now is 04:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com