Consulting

Results 1 to 4 of 4

Thread: Calling functions and subs from another file

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Calling functions and subs from another file

    Hi.

    Having a lot of power point macros that clips in images and other stuff. All of them have a lot of functions and subs to do stuff (like comparing files, getting the newest file, aligning and so on) so the main code will be more easy to handle and maintain for some people not so into the VBA code.
    This works great, but - if i wan't to update the subs and functions, i have to put the the updated code in EVERY macro and that is a pain in the ---.
    So, is it possible to have the macro calling the functions from another file (like "Reference_Macro.whateverisneeded") so all the updates goes into that single file instead?

    I can't install special software and that kind of stuff (at work you know...).

    If this is possible, how do i implement this?

    Regards X.
    Last edited by Xanthopteryx; 05-11-2019 at 01:06 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •