Solved

Change the name of bas module

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now