+ Reply to Thread
Results 1 to 3 of 3

add button syntax

  1. #1
    Big Al
    Guest

    add button syntax

    I need to know the meaning of positional parameters for adding a button.

    ActiveSheet.Buttons.Add(400, 40, 10, 10).Select

    In the above example, what does the 1st, 2nd, 3rd, and 4th parameters
    (within the parenthesis) control?

  2. #2
    William
    Guest

    Re: add button syntax

    Hi Al

    Parameter 1 : How far button starts from left hand side of worksheet (Column
    A)
    Parameter 2 : How far button starts from top of worksheet (Row 1)
    Parameter 3 : Button width
    Parameter 4 : Button height
    --

    XL2003
    Regards

    William
    [email protected]


    "Big Al" <Big [email protected]> wrote in message
    news:[email protected]...
    >I need to know the meaning of positional parameters for adding a button.
    >
    > ActiveSheet.Buttons.Add(400, 40, 10, 10).Select
    >
    > In the above example, what does the 1st, 2nd, 3rd, and 4th parameters
    > (within the parenthesis) control?




  3. #3
    Big Al
    Guest

    Re: add button syntax

    William, thanx; that's exactly what I was looking for.

    "William" wrote:

    > Hi Al
    >
    > Parameter 1 : How far button starts from left hand side of worksheet (Column
    > A)
    > Parameter 2 : How far button starts from top of worksheet (Row 1)
    > Parameter 3 : Button width
    > Parameter 4 : Button height
    > --
    >
    > XL2003
    > Regards
    >
    > William
    > [email protected]
    >
    >
    > "Big Al" <Big [email protected]> wrote in message
    > news:[email protected]...
    > >I need to know the meaning of positional parameters for adding a button.
    > >
    > > ActiveSheet.Buttons.Add(400, 40, 10, 10).Select
    > >
    > > In the above example, what does the 1st, 2nd, 3rd, and 4th parameters
    > > (within the parenthesis) control?

    >
    >
    >


+ 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