Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Darcy Jones   on Dec 14 In MS Office Category.

  
Question Answered By: Ramond Fischer   on Dec 14

Here's how you do it. This will add your variable (which I set here with a
value of 99) to the first free cell  in Column A of Sheet2, without affecting
the Active Cell or the Selection.

myVariable = 99
Sheets("Sheet2").Range("a65536").End(xlUp).Offset(1, 0).Value =
myVariable

Share: 

 
 
Didn't find what you were looking for? Find more on How to store user input in a worksheet? Or get search suggestion and latest updates.


Tagged: