+ Reply to Thread
Results 1 to 10 of 10

Custom Groups and Macros

  1. #1
    Registered User
    Join Date
    08-10-2007
    Posts
    15

    Custom Groups and Macros

    Hi

    Excuse the daft question, but I have created custom groups in the ribbon which runs series of macros. Not a problem. However, when I copy the spreadsheet (to save a backup version as I go) it runs the macros from the original sheet, and executes those macros on the original sheet. Without deleting the groups and re-creating each time, what am I doing wrong ?

    I am a bit of a VBA dork, but manage to somehow muddle along

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Custom Groups and Macros

    Probably those macros are set to run on the original book - what do they look like?
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    08-10-2007
    Posts
    15

    Re: Custom Groups and Macros

    i haven't knowingly attached them to a particular spreadsheet, they work fine if I run them from the macro tab, or from within the vba. I cannot seem to be able to edit the link from the group to the macro, looks to me if I have not set them up correctly in the first place

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Custom Groups and Macros

    Maybe, if we could see the code?

  5. #5
    Registered User
    Join Date
    08-10-2007
    Posts
    15

    Re: Custom Groups and Macros

    How do I do that ? The spreadsheet is largish, with umpteen macros, and don't want to attach the entire spreadsheet, as it contains all my finances including account numbers etc

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Custom Groups and Macros

    Just cut and paste one of the relevant codes - we don't (we shouldn't) need to see the actual sheet.

  7. #7
    Registered User
    Join Date
    08-10-2007
    Posts
    15

    Re: Custom Groups and Macros

    I don't know how to do that. I can see the reference when hovering the tab in "customize ribbons", but apart from a screen dump, cannot fathom how to access it.

  8. #8
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Custom Groups and Macros

    I've got the developer tab on my ribbon - but, even if you don't then one of the tabs should display macros.

    I suggest that you add the developer tab to your ribbon. I just don't remember where they (the macros) are otherwise

  9. #9
    Registered User
    Join Date
    08-10-2007
    Posts
    15

    Re: Custom Groups and Macros

    Thanks for the help. It has got me beat, so will delete and run everything from the vba

    many thanks

  10. #10
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Custom Groups and Macros

    Too Bad

+ 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. Custom Ribbonx and Setting Visibility of Groups?
    By ptmuldoon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-11-2016, 04:00 PM
  2. Using custom sort with macros
    By metalloidica in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-21-2015, 10:46 AM
  3. Assistance with Custom Tab and Groups on Excel Office Ribbon using Custom UI Editor.
    By sdavison in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-15-2015, 06:13 AM
  4. Replies: 4
    Last Post: 06-23-2014, 09:52 PM
  5. Custom View Macros
    By jhovey in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-15-2006, 08:04 PM
  6. Custom toolbars and macros
    By tonywig in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2005, 07:48 AM
  7. [SOLVED] Custom Menus and Macros
    By Terry in forum Excel General
    Replies: 0
    Last Post: 01-24-2005, 09:12 AM

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