show a value of X in worksheet

  • Thread starter Thread starter bertieBassett
  • Start date Start date
B

bertieBassett

I need to show the value of "X" as defined in a Macro and display it in a
worksheet cell
the value is a whole number
Any help appreciated
 
To put a variable's value in a cell, use something like

Worksheets("Sheet1").Range("A1").Value = X


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com (e-mail address removed)
 
Back
Top