ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Rename Module (https://www.excelbanter.com/excel-programming/325431-rename-module.html)

DJH

Rename Module
 
Within Excel's Visual Basic Editor, how can you rename modules with the
project. I only see the ability to Remove, not to Rename.

Bob Phillips[_6_]

Rename Module
 
Select the module, make sure that the Properties window is active, and you
can change the name there.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"djh" wrote in message
...
Within Excel's Visual Basic Editor, how can you rename modules with the
project. I only see the ability to Remove, not to Rename.




Don Guillett[_4_]

Rename Module
 
select the modulef4change

--
Don Guillett
SalesAid Software

"djh" wrote in message
...
Within Excel's Visual Basic Editor, how can you rename modules with the
project. I only see the ability to Remove, not to Rename.




DJH

Rename Module
 
Thanks, I stumbled upon the Properties button so found it. If I rename and
organize my modules, how can I call a sub from one module that is stored in
another module? How do I make the sub available?

"Bob Phillips" wrote:

Select the module, make sure that the Properties window is active, and you
can change the name there.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"djh" wrote in message
...
Within Excel's Visual Basic Editor, how can you rename modules with the
project. I only see the ability to Remove, not to Rename.





Chip Pearson

Rename Module
 
Procedures in one module can be directly accessed by a procedure
in another module, unless that procedure is declared as Private.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"djh" wrote in message
...
Thanks, I stumbled upon the Properties button so found it. If
I rename and
organize my modules, how can I call a sub from one module that
is stored in
another module? How do I make the sub available?

"Bob Phillips" wrote:

Select the module, make sure that the Properties window is
active, and you
can change the name there.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"djh" wrote in message
...
Within Excel's Visual Basic Editor, how can you rename
modules with the
project. I only see the ability to Remove, not to Rename.







DJH

Rename Module
 
The error I got was the result of renaming the module to the same name as the
sub.

"Chip Pearson" wrote:

Procedures in one module can be directly accessed by a procedure
in another module, unless that procedure is declared as Private.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"djh" wrote in message
...
Thanks, I stumbled upon the Properties button so found it. If
I rename and
organize my modules, how can I call a sub from one module that
is stored in
another module? How do I make the sub available?

"Bob Phillips" wrote:

Select the module, make sure that the Properties window is
active, and you
can change the name there.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"djh" wrote in message
...
Within Excel's Visual Basic Editor, how can you rename
modules with the
project. I only see the ability to Remove, not to Rename.







Chip Pearson

Rename Module
 
The error I got was the result of renaming the module to the
same name as the
sub.


Don't do that.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"djh" wrote in message
...
The error I got was the result of renaming the module to the
same name as the
sub.

"Chip Pearson" wrote:

Procedures in one module can be directly accessed by a
procedure
in another module, unless that procedure is declared as
Private.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"djh" wrote in message
...
Thanks, I stumbled upon the Properties button so found it.
If
I rename and
organize my modules, how can I call a sub from one module
that
is stored in
another module? How do I make the sub available?

"Bob Phillips" wrote:

Select the module, make sure that the Properties window is
active, and you
can change the name there.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"djh" wrote in message
...
Within Excel's Visual Basic Editor, how can you rename
modules with the
project. I only see the ability to Remove, not to
Rename.










All times are GMT +1. The time now is 03:57 AM.

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