+ Reply to Thread
Results 1 to 5 of 5

Button who activates a macro

Hybrid View

RoMarius1981 Button who activates a macro 11-19-2012, 09:46 AM
patel45 Re: Button who activates a... 11-19-2012, 10:26 AM
RoMarius1981 Re: Button who activates a... 11-20-2012, 06:50 AM
patel45 Re: Button who activates a... 11-20-2012, 07:19 AM
RoMarius1981 Re: Button who activates a... 11-20-2012, 07:27 AM
  1. #1
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Button who activates a macro

    Try
    Private Sub CommandButton1_Click()
    Worksheets("sheet1").Activate
    main
    End Sub
    if problems attach a sample file
    Last edited by patel45; 11-20-2012 at 07:22 AM.
    If solved remember to mark Thread as solved

  2. #2
    Registered User
    Join Date
    11-05-2012
    Location
    Bucharest
    MS-Off Ver
    Excel 2010
    Posts
    48

    Re: Button who activates a macro

    I figure it out just before I saw your post
    I delete Private from one of the macros and now it works perfect
    Thank you for everything

+ 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