+ Reply to Thread
Results 1 to 5 of 5

OLE Object Array Declaration Syntax Problem

  1. #1
    Registered User
    Join Date
    10-20-2011
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    98

    OLE Object Array Declaration Syntax Problem

    I have 6 toggle buttons

    Toggle1
    Toggle2
    Toggle3
    etc

    I am wondering if its possible to have them as an array?

    Please Login or Register  to view this content.
    Thanks for an insight

    Beat

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: OLE Object Array Declaration Syntax Problem

    Possibly:
    Please Login or Register  to view this content.

  3. #3
    Forum Expert Colin Legg's Avatar
    Join Date
    03-30-2008
    Location
    UK
    MS-Off Ver
    365
    Posts
    1,256

    Re: OLE Object Array Declaration Syntax Problem

    Sure, you can if you want to. If we keep the code the same as you presented it, it would be:
    Please Login or Register  to view this content.

    There are various other options available to you too. For example, you could use the Userform's controls collection:
    Please Login or Register  to view this content.
    Hope that helps,

    Colin

    RAD Excel Blog

  4. #4
    Registered User
    Join Date
    10-20-2011
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    98

    Re: OLE Object Array Declaration Syntax Problem

    Superb thanks,

    ill give it a try

  5. #5
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: OLE Object Array Declaration Syntax Problem

    in a userform:

    Please Login or Register  to view this content.



+ 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