ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Cell = variable+1 (https://www.excelbanter.com/excel-programming/371296-cell-%3D-variable-1-a.html)

[email protected]

Cell = variable+1
 
Sorry for so simple question:
In the active cell, I simply need to set the value to variable called
n to increment by one. (variable n has been defined earlier in the
code).


Gary''s Student

Cell = variable+1
 
ActiveCell.Value=n+1
--
Gary's Student


" wrote:

Sorry for so simple question:
In the active cell, I simply need to set the value to variable called
n to increment by one. (variable n has been defined earlier in the
code).



[email protected]

Cell = variable+1
 
thanks



All times are GMT +1. The time now is 07:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com