Solved

Change the name of bas module

Posted on 2014-11-04
5
102 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

777 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