c_breemersch
New member
- Local time
- Today, 17:26
- Joined
- Nov 17, 2008
- Messages
- 5
Hi,
I create an excel-file with VBA code in MS Access. When I want to enter
"=ROUND(Sum(H26:H30);2)" as the value of a cell, it gives me an object-oriented error, but the formula works perfectly in Excel, so there is nothing wrong with the formula.
Access-code:
mySheet.Cells(irow, 8).value = "=ROUND(Sum(H26:H30);2)"
Is the word "round" interpreted as a vba-function? everything is between quotation marks, so that shouldn't be a problem.
Christophe
I create an excel-file with VBA code in MS Access. When I want to enter
"=ROUND(Sum(H26:H30);2)" as the value of a cell, it gives me an object-oriented error, but the formula works perfectly in Excel, so there is nothing wrong with the formula.
Access-code:
mySheet.Cells(irow, 8).value = "=ROUND(Sum(H26:H30);2)"
Is the word "round" interpreted as a vba-function? everything is between quotation marks, so that shouldn't be a problem.
Christophe