Dynamic code changes

Ray Bailey

New Member
Joined
Nov 12, 2015
Messages
34
Hi,

I have a number of functions to calculate financial periods, rates, target dates etc. which I have in a single .bas file. These functions are used by a dozen macros and various users.

My issue is that if I need to change a function, I have to replace the module in each of the macros and then re-distribute them.

Is there an easy way of handling this. I did look at loading the module from within the VBA could, with little success. Is there a Use or Include type of command as in some other languages.

I think that I should be able to use an add-in (xlsa) file but our IT dept have already said that I'm not allowed to do that.

Any advise will be gratefully received.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hi Ray,

Always nice to hear that one has to progress ...DESPITE ... the IT dept ...:wink:

It seems to me ... you need to jump onto the VBE bandwagon ...

Take a look at the excellent explanation done by Chip ...!!!

http://www.cpearson.com/excel/vbe.aspx

Hope this will help
 
Upvote 0
Thanks James,

Had a quick look and seems very interesting, I'll give it a go later.

Got more programming years under my belt than I care to remember, but processes have to be followed etc.

Cheers

Ray
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,157
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top