Hello ilovelagar,
You must have recorded the macro. The default property for a Range object is the Value, which will be the result of a formula. The only way to get the formula into the TextBox is to use the Formula property.
Example of Returning a Cell Value to a TextBox
Example of Returning theCell Formula to a TextBox![]()
TextBox1 = Range("C3").Value
![]()
TextBox1 = Range("C3").Formula 'A1 style TextBox1 = Range("C3").FormulaR1C1 'R1C1 style
Bookmarks