+ Reply to Thread
Results 1 to 3 of 3

moving formulas and macros to another wksheet

Hybrid View

  1. #1
    Registered User
    Join Date
    10-11-2006
    Posts
    51

    moving formulas and macros to another wksheet

    at work, we have a database which lets us exports pertinent data into an excel file at the click of a button. i do this at least once a day in order to generate a report my bosses. however, i need to do some postprocessing in order to generate the right info which interests them. to do this, i have some macros and formulas. for now, i am manually copying them over to the new .xls created.

    is there an easier way to do this?

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,373
    If you store Sub procedures in Personal.xls (and if personal.xls is in the xlstart folder), they will be available to all worksheets. If you store your function procedures in Personal.xls, they, too, will be available to all workbooks if the function call is preceeded by the file name personal.xls.

    If you store function procedures in an add-in (myfunctions.xla), they will be available like other built-in functions.

  3. #3
    Registered User
    Join Date
    10-11-2006
    Posts
    51
    MrShorty,

    Thanks for your quick reply. I'd like to clarify 2 things:

    - where is the xlstart folder? Is this defined somewhere?

    - i have a table with formulas in them that assembles the statistics which one of my bosses find useful. is there an easy way to import this table of formulas into the new xls file (created by the database)?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1