Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default renaming VBA "modules"

I’m running XL97 under WinXP-pro. Associated with an XL97 workbook are
numerous macros in various “modules” in a VBA Project. Some of these
“modules” have informative names while others are merely named Module1,
or Module2. I’m not sure how some ended up with appropriate names
while the others simply have a generic title.

Is there a way to change these module names?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default renaming VBA "modules"

Hi Windsurfer,

Select the module in the explorer window (Ctrl-R), open the properties
window (F4) and change the module's name property.


---
Regards,
Norman



"windsurferLA" wrote in message
. ..
I’m running XL97 under WinXP-pro. Associated with an XL97 workbook are
numerous macros in various “modules” in a VBA Project. Some of these
“modules” have informative names while others are merely named Module1, or
Module2. I’m not sure how some ended up with appropriate names while the
others simply have a generic title.

Is there a way to change these module names?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default renaming VBA "modules"

Thanks.... works

Norman Jones wrote:
Hi Windsurfer,

Select the module in the explorer window (Ctrl-R), open the properties
window (F4) and change the module's name property.


---
Regards,
Norman



"windsurferLA" wrote in message
. ..

I’m running XL97 under WinXP-pro. Associated with an XL97 workbook are
numerous macros in various “modules” in a VBA Project. Some of these
“modules” have informative names while others are merely named Module1, or
Module2. I’m not sure how some ended up with appropriate names while the
others simply have a generic title.

Is there a way to change these module names?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default renaming VBA "modules"

Or you can select a module (in the Project Explorer), press F4 on your
keyboard twice. Then type a new name.

It's always a good idea to give the modules consistent descriptive names.

Regards,
Edwin Tam

http://www.vonixx.com



"windsurferLA" wrote:

Im running XL97 under WinXP-pro. Associated with an XL97 workbook are
numerous macros in various €śmodules€ť in a VBA Project. Some of these
€śmodules€ť have informative names while others are merely named Module1,
or Module2. Im not sure how some ended up with appropriate names
while the others simply have a generic title.

Is there a way to change these module names?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default renaming VBA "modules"

Thanks ... works... it is obvious now that I see what to do.

Edwin Tam wrote:
Or you can select a module (in the Project Explorer), press F4 on your
keyboard twice. Then type a new name.

It's always a good idea to give the modules consistent descriptive names.

Regards,
Edwin Tam

http://www.vonixx.com



"windsurferLA" wrote:


Im running XL97 under WinXP-pro. Associated with an XL97 workbook are
numerous macros in various €śmodules€ť in a VBA Project. Some of these
€śmodules€ť have informative names while others are merely named Module1,
or Module2. Im not sure how some ended up with appropriate names
while the others simply have a generic title.

Is there a way to change these module names?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
VBE - Possible to have one of five modules in a VB project to be "default"? [email protected] Excel Discussion (Misc queries) 2 September 22nd 06 09:58 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
"Static" Methods in Class Modules Ripan[_3_] Excel Programming 2 January 12th 04 04:55 PM


All times are GMT +1. The time now is 12:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"