+ Reply to Thread
Results 1 to 1 of 1

Macro to copy and assign other macros

  1. #1
    Forum Contributor
    Join Date
    07-05-2012
    Location
    Stockholm
    MS-Off Ver
    Excel 2010
    Posts
    162

    Macro to copy and assign other macros

    Hello,

    I'm trying to create a macro (M1) where I copy everything from one sheet (A) to another sheet (B). In sheet A there are a number of buttons that have macros assigned to them. When copying all data from A to B, the buttons are also copied. For the copied buttons to work in sheet B, they need to be assigned to a macro (M2) specific for that sheet (B), and this action is also included in the macro (M1).

    When I record the macro (M1) everything works fine, but when I try running the macro (M1), it looks very strange and it does not work.

    I've attached the code for the complete macro (M1) and highlighted where it appears to go wrong.

    Please Login or Register  to view this content.
    Can anyone help me to see why it goes wrong?
    Last edited by D-smoke; 02-13-2013 at 09:36 AM.

+ 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