ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Scope of variables (https://www.excelbanter.com/excel-programming/326804-scope-variables.html)

Purnima

Scope of variables
 
Hi,
I would like to know if there is a way to declare a variable which can be
used in a module as well as in a user form in the same workbook.

Thanx.

P Sitaram[_2_]

Scope of variables
 
Declare the variable as Public in the declarations section of a
standard module



All times are GMT +1. The time now is 08:26 AM.

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