+ Reply to Thread
Results 1 to 3 of 3

Oleobjects group box

  1. #1
    michael v
    Guest

    Oleobjects group box

    I would like to make this work with the group box but I don't seem to be
    able to find it as a classtype ?

    Sub AddComm_button()
    ActiveSheet.OLEObjects.Add ClassType:="Forms.Frame.1", Left:=126, Top:=96,
    Width:=126.75, Height:=25.5
    End Sub





  2. #2
    Tom Ogilvy
    Guest

    Re: Oleobjects group box

    The groupbox isn't an OleObject.

    ActiveSheet.GroupBoxes.Add(110.25, 84, 112.5, 69.75).Select


    --
    Regards,
    Tom Ogilvy



    "michael v" <[email protected]> wrote in message
    news:[email protected]...
    > I would like to make this work with the group box but I don't seem to be
    > able to find it as a classtype ?
    >
    > Sub AddComm_button()
    > ActiveSheet.OLEObjects.Add ClassType:="Forms.Frame.1", Left:=126, Top:=96,
    > Width:=126.75, Height:=25.5
    > End Sub
    >
    >
    >
    >




  3. #3
    michael v
    Guest

    Re: Oleobjects group box

    Thanx Tom

    "Tom Ogilvy" <[email protected]> wrote in message
    news:[email protected]...
    > The groupbox isn't an OleObject.
    >
    > ActiveSheet.GroupBoxes.Add(110.25, 84, 112.5, 69.75).Select
    >
    >
    > --
    > Regards,
    > Tom Ogilvy
    >
    >
    >
    > "michael v" <[email protected]> wrote in message
    > news:[email protected]...
    > > I would like to make this work with the group box but I don't seem to be
    > > able to find it as a classtype ?
    > >
    > > Sub AddComm_button()
    > > ActiveSheet.OLEObjects.Add ClassType:="Forms.Frame.1", Left:=126,

    Top:=96,
    > > Width:=126.75, Height:=25.5
    > > End Sub
    > >
    > >
    > >
    > >

    >
    >





+ 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