+ Reply to Thread
Results 1 to 3 of 3

xla programming

Hybrid View

Guest xla programming 08-26-2005, 11:05 AM
Guest Re: xla programming 08-26-2005, 11:05 AM
Guest Re: xla programming 08-26-2005, 12:05 PM
  1. #1
    DS NTE
    Guest

    xla programming

    I'm managing/developing an addin, OurFuncs.xla, for our company. This xla
    contains lots of UDFs used by many users. To provide a simple helpfunction
    for the users I hav done this:

    In Sheet1 in the xla I have the UDFs name in A1:A20 and the descriptions of
    the UDFs in B1:B20. I have made an userform, Userform1, and placed a
    combobox, Combobox1, in this userform. My problem is that I'm having trouble
    setting the rowsource for the combobox. Among others I have tried this:
    Workbooks("OurFuncs.xla").Worksheets("Sheet1").Range("A1:B20") as the
    rowsource, but whatever I try it bombs out with: "Invalid ...... etc". Does
    anybody have a solution to this, or has anybody another clever and simple(!)
    idea for making such a helpfunction in an xla.

    knut



  2. #2
    Tom Ogilvy
    Guest

    Re: xla programming

    combobox1.RowSource = _
    Workbooks("OurFuncs.xla").Worksheets("Sheet1").Range("A1:B20").Address(Exter
    nal:=True)


    or
    combobox1.RowSource = "[OurFuncs.xls]Sheet1!A1:B20"

    --
    Regards,
    Tom Ogilvy

    "DS NTE" <sorry@no.email> wrote in message
    news:OZYEFqkqFHA.712@TK2MSFTNGP15.phx.gbl...
    > I'm managing/developing an addin, OurFuncs.xla, for our company. This xla
    > contains lots of UDFs used by many users. To provide a simple helpfunction
    > for the users I hav done this:
    >
    > In Sheet1 in the xla I have the UDFs name in A1:A20 and the descriptions

    of
    > the UDFs in B1:B20. I have made an userform, Userform1, and placed a
    > combobox, Combobox1, in this userform. My problem is that I'm having

    trouble
    > setting the rowsource for the combobox. Among others I have tried this:
    > Workbooks("OurFuncs.xla").Worksheets("Sheet1").Range("A1:B20") as the
    > rowsource, but whatever I try it bombs out with: "Invalid ...... etc".

    Does
    > anybody have a solution to this, or has anybody another clever and

    simple(!)
    > idea for making such a helpfunction in an xla.
    >
    > knut
    >
    >




  3. #3
    DS NTE
    Guest

    Re: xla programming

    Thanks - will give it a try.

    knut
    "Tom Ogilvy" <twogilvy@msn.com> skrev i melding
    news:ujKC1ykqFHA.3060@TK2MSFTNGP09.phx.gbl...
    > combobox1.RowSource = _
    > Workbooks("OurFuncs.xla").Worksheets("Sheet1").Range("A1:B20").Address(Exter
    > nal:=True)
    >
    >
    > or
    > combobox1.RowSource = "[OurFuncs.xls]Sheet1!A1:B20"
    >
    > --
    > Regards,
    > Tom Ogilvy
    >
    > "DS NTE" <sorry@no.email> wrote in message
    > news:OZYEFqkqFHA.712@TK2MSFTNGP15.phx.gbl...
    >> I'm managing/developing an addin, OurFuncs.xla, for our company. This xla
    >> contains lots of UDFs used by many users. To provide a simple
    >> helpfunction
    >> for the users I hav done this:
    >>
    >> In Sheet1 in the xla I have the UDFs name in A1:A20 and the descriptions

    > of
    >> the UDFs in B1:B20. I have made an userform, Userform1, and placed a
    >> combobox, Combobox1, in this userform. My problem is that I'm having

    > trouble
    >> setting the rowsource for the combobox. Among others I have tried this:
    >> Workbooks("OurFuncs.xla").Worksheets("Sheet1").Range("A1:B20") as the
    >> rowsource, but whatever I try it bombs out with: "Invalid ...... etc".

    > Does
    >> anybody have a solution to this, or has anybody another clever and

    > simple(!)
    >> idea for making such a helpfunction in an xla.
    >>
    >> knut
    >>
    >>

    >
    >




+ 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