Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Will user defined functions in MS Excel be lost while transferring the file to another user/computer?

I am creating a group of 4 MS Excel files located at the same location, that are inter-linked and contain several user-defined functions (UDFs). If I email these files to another user, will they be able to view the data as it should be (considering they place all the files in on location on their PC)?

Or will the user-defined functions I created be lost, causing the data to be erraneous?

6 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    You need to ensure that the macro for the UDF resides in the same workbook. I store mine as part of a module in the Visual Basic Editor. If you do that, it will be transferred with the file guaranteed.

    Source(s): I am an Excel VBA programmer
  • Anonymous
    1 decade ago

    User defined functions are macros, so they must run when the user computer security level is medium or low (Concern that)

    That was issue number 1

    Issue number 2 will be the pathes for these files, the end-user must put them all in the same folder, (not only same folder) but also in the same path.

    Means if your files were in C:\Work1 folder, the end-user must put them also in C:\work1 folder.

    The function itself can be called frm any file (once the file with the UDF is opened), but the links will have some diffeculties in linking values

    I worked alot with these issues.

    So if you have only UDFs in one file and made sure that the user will open it, it will be no problem, but the links between cell values may face this issue.

    I can help you here if you are interesting and show you how to manage these, mail me here

    Enjoy my profile, I am the VBAXLMan

  • 1 decade ago

    If you can, save 1 file with all of the worksheet contained within it.

    Save a copy of your file with the User Defined Functions as an add-in file type (*.xla), then have them load it as (Tools > Add-Ins...)

    If they don't have your User Defined Function they cannot use it.

    Send them the *.xls and the *.xla file.

  • 1 decade ago

    Yes the udf will be lost you have to send the addin also along with it to get it work.

    Makarand

  • How do you think about the answers? You can sign in to vote the answer.
  • 1 decade ago

    I guess the function wont be affected as they are embedded in the file . U can send a me a email and let me check it out and let u know my email id is neadvantage@gmail.com .

  • Sunny
    Lv 4
    1 decade ago

    No, they will not be lost.

Still have questions? Get your answers by asking now.