Solved

Change the name of bas module

Posted on 2014-11-04
5
112 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 47

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 47

Expert Comment

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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

705 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