Friday 15 July 2011

excel - Does the += operator just not exist in VBA? -


I am trying to stimulate value in a cell, but in spite of the document Visual Basic + + operator's permission It just lets me "compile error: hope: expression"

  range ("cellname"). What's breaking, but if I  
  category ("cellname") = category ("cellname") + 1   

Code>

This works fine

+ = (Although I'm not sure about this too).

You must use the

  range ("cellname"). Value = category ("cellname"). Value + 1   

A good reference can be found

No comments:

Post a Comment