Solved

Change the name of bas module

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

730 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