+ Reply to Thread
Results 1 to 6 of 6

Macros on other computers....

  1. #1
    Registered User
    Join Date
    08-24-2008
    Location
    Tenerife
    Posts
    3

    Macros on other computers....

    Hi all

    (Excel 2003)

    I am relatively new to Excel but am trying hard to learn, so if this is a daft question I apologise up front.

    I run a bowling club and am using Excel to record league results, work out the league etc etc.

    On the league worksheet, I have the league and have placed a button on the sheet which sorts the league into highest points, etc etc.

    Everything works fine except for one thing..... Some of the leagues are controlled by other people. I do al the "techy" stuff for them and there job is solely to enter the results and then print out leagues on a week by week basis. THe problem is, I emailed the appropriate leagues to each person, they pen up the file and can enter the info without any problem. However when they press the button to sort the leagues it says it cant find the relavent macro. To sort the problem, I have to visit each of them and re-record the macro etc, then it works fine.

    My question is this.... Is their a way to "package" the macro with the saved .xls file when I email them the file OR is their another way around this problem?

    Thanks v much

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe you are saving the macro as a personal macro instead of workbook macro (see link)

    http://www.bettersolutions.com/excel...C420921011.htm

    If you are using a button make sure you included the full name (workbook name and macro name)

    e.g

    'Book1.xls'!YourMacroName

    or you could take a look at adding a custom menu

    http://www.ozgrid.com/VBA/custom-menus.htm

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    08-24-2008
    Location
    Tenerife
    Posts
    3
    Quote Originally Posted by VBA Noob View Post
    Maybe you are saving the macro as a personal macro instead of workbook macro (see link)


    If you are using a button make sure you included the full name (workbook name and macro name)

    e.g

    'Book1.xls'!YourMacroName

    or you could take a look at adding a custom menu

    http://www.ozgrid.com/VBA/custom-menus.htm

    VBA Noob
    Thanks VBA Noob

    I did choose the save in "This Workbook" so I dont think thats the problem.

    Excuse my ignorance but, when you say "If you are using a button make sure you included the full name (workbook name and macro name)"

    I take it you mean in the assign macro property? Sorry for what is no doubt a dumb question.

    I will try the other method later this afternoon.

    Thanks in meantime,
    Last edited by Sparkybear; 08-24-2008 at 09:18 AM.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Excuse my ignorance but, when you say "If you are using a button make sure you included the full name (workbook name and macro name)"
    You didn't say how the other person was calling the macro. One method is to add a button to call the macro. Other methods
    http://www.bettersolutions.com/excel...C216621011.htm

    VBA Noob

  5. #5
    Registered User
    Join Date
    08-24-2008
    Location
    Tenerife
    Posts
    3
    Quote Originally Posted by VBA Noob View Post
    You didn't say how the other person was calling the macro. One method is to add a button to call the macro. Other methods
    http://www.bettersolutions.com/excel...C216621011.htm

    VBA Noob
    Sorry

    I just realised what I "THINK" you meant after I posted my reply, you obviously had read it before I edited my reply, sorry....

    As per my edit, I take it you meant to make sure 'Book1.xls'!YourMacroName was in the assign to proprty of the button.. Yes? If so it is and am still getting the problem. Maybe the other way is the only answer. Unless you can suggest anything else.

    Thanks again

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create a Toolbar of Macros through Add-in///
    By nishan22 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-03-2011, 11:59 AM
  2. Advanced Filter + Several Macros
    By excel_owns_me in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-12-2007, 02:52 AM
  3. 'Enable Macros' message with no macros
    By nebb in forum Excel General
    Replies: 1
    Last Post: 06-07-2007, 07:04 AM
  4. Stop all macro's
    By RickBartels in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-08-2007, 06:55 AM
  5. But there are no macros!
    By Ms_Teacher in forum Excel General
    Replies: 3
    Last Post: 10-01-2006, 08:27 PM

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