A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Sorry, I simplified the situation but I have in VBA the constant I want added (instead of 4), so I would prefer if I could write VBA. Is that possible?
Thank you
Hi,
Like this
Range("E5").Formula = Range("E4").Formula & "+4"
But if you really want to use a constant, like this
Dim MyConstant As Long
MyConstant = 4
Range("E5").Formula = Range("E4").Formula & "+" & MyConstant