Solved

Change the name of bas module

Posted on 2014-11-04
5
105 Views
Last Modified: 2014-11-04
i have many bas modules made over the years and want to change the names
I have never refereed to them by name only the subs/functions, so i don't think it will cause any problems.
Am i thinking wrong ?
Are their unforeseen problems ?
0
Comment
Question by:isnoend2001
  • 2
  • 2
5 Comments
 
LVL 45

Expert Comment

by:aikimark
ID: 40421710
Is this a VBA or VB6 environment?
Are you trying to rename the .bas files or just change the name of the module?

You may need to change the VB project.
0
 

Author Comment

by:isnoend2001
ID: 40421738
vb6
Example:
Change additional_function.bas
to
basGlobals.bas
0
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 40421740
There are absolutely no problems if you change the name of a module in either VB6 or VBA.
0
 

Author Closing Comment

by:isnoend2001
ID: 40421769
Thanks
That's what i thought just wanted to be sure
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40421792
You're welcome.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question