Thread: VBA round
View Single Post
  #1   Report Post  
Jeff
 
Posts: n/a
Default VBA round

I am writing VBA.

How do I round.

I tried "Range("A1").value = Round(X)"
where I set X = 6.7

But it gave an error on the "Round()" - it said it was not defined function.
Is there a function that can round in VBA?