+ Reply to Thread
Results 1 to 2 of 2

Add Code To Button Click Event Using VBA

  1. #1
    Registered User
    Join Date
    06-12-2008
    Location
    Newbury
    MS-Off Ver
    Office 365 ProPlus
    Posts
    92

    Add Code To Button Click Event Using VBA

    hey folks,

    I'm creating a button on a worksheet using VBA and then want to add code to the buttons click event. So far i have this:

    Please Login or Register  to view this content.

    On the last line I receive a "Run Time error '9': Subscript outof range". Any able to shed some light on this?

  2. #2
    Forum Contributor
    Join Date
    12-11-2004
    MS-Off Ver
    2007
    Posts
    137

    Re: Add Code To Button Click Event Using VBA

    Hi,

    You may try

    Please Login or Register  to view this content.
    Regards
    michel
    Last edited by michelxld; 03-01-2009 at 07: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