+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2010
    Posts
    197

    How to write a macro for command button

    I am attempting to set up two command buttons for filter using macro, but i dont know how to write code in macro. please help me.

    Hope you can help,

    Regards...
    ...Marc
    Attached Files Attached Files
    Last edited by marc5354; 02-09-2010 at 09:58 AM.

  2. #2
    Forum Guru
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2003, 2007.
    Posts
    1,412

    Re: How to write a macro for command button

    marc5354,

    See the attached workbook "Toggle two command buttons for filtering - marc5354 - SDG10.xls" with your two command buttons coded to toggle the filter on or off.
    Have a great day,
    Stan
    stanleydgromjr
    Windows Vista Business, Excel 2003 and 2007

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2010
    Posts
    197

    Re: How to write a macro for command button

    Thank you so much for your time and help.

    Have a nice day..

    ...Marc

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.2.0