ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Module name (https://www.excelbanter.com/excel-programming/339500-module-name.html)

Ray A

Module name
 
Hi,
Is it possible to name a VBA module? I would like to do this for clarity
when looking for code.
TIA


Jim Thomlinson[_4_]

Module name
 
In the visual basic editor ensure that the properties window is visible. View
- Properties Window. When the module is selected there is a property called
name. Change this and you change the name of the module. As an aside it is
standard to use iether a 1 or 3 letter prefix to identify it as a module.
Something like

mThisModule
or
modThisModule
--
HTH...

Jim Thomlinson


"Ray A" wrote:

Hi,
Is it possible to name a VBA module? I would like to do this for clarity
when looking for code.
TIA



All times are GMT +1. The time now is 02:45 PM.

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