Fixed path for macros

Posted on 2014-08-18
Last Modified: 2014-08-19
I have a problem with paths for Excel macros. I have a workbook I need to copy and move. Several people in different departmens are using this so I cannot implement the macros in PERSONAL.XLSB. I need to be able to update them and they have to be part of the sheet. My problem is that although I enter ExcelBook.xlsm!ThisWorkBook.Macro and save it, when I copy/move it and opens it again and try to run the macros, they have changed path to \\server\path\ExcelBook.xlsm!Macro and that doesn't work. I need them to be as I entered them.

Please explain/help!

Question by:IverErling
    LVL 7

    Expert Comment

    This one worked for me
    File|Properties|Summary Tab
    Set the "hyperlink base"  to C: or D:
    LVL 7

    Accepted Solution


    Author Comment

    Thanks! That seem to be what I was looking for ;-)

    All the best from

    IVer in Norway

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Sometimes we don't want to show zeros in our Excel spreadsheets. This is sometimes most evident in our charts. Look at the chart below, all the zero values are visible. I think that all will agree with the fact that zero values are not looking nice …
    Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
    The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
    This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

    779 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

    10 Experts available now in Live!

    Get 1:1 Help Now