Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel:referring to formulas of cells

Status
Not open for further replies.

gusset

Technical User
Mar 19, 2002
251
GB
why are there two properties: .formula and .value of cell ranges? i find that i can say either...

.value = "=sum(A1:A3)"
or
.formula = "=sum(A1:A3)"

...and the result is the same

thanks

gusset
 
Try it the other way 'round...
Code:
   MsgBox Range("A4").Value 
     vs.
   MsgBox Range("A4").Formula
...and you should see the difference.
 
what a silly oaf i am. of course, that's why!

thanks

gusset
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top