ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   show a value of X in worksheet (https://www.excelbanter.com/excel-programming/281322-show-value-x-worksheet.html)

bertieBassett

show a value of X in worksheet
 
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



Chip Pearson

show a value of X in worksheet
 
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

"bertieBassett" wrote in message
...
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






All times are GMT +1. The time now is 04:51 PM.

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