+ Reply to Thread
Results 1 to 4 of 4

Listbox Sheet Referencing

  1. #1
    Registered User
    Join Date
    04-30-2007
    Location
    JerseyCI/London
    Posts
    35

    Listbox Sheet Referencing

    Hi all

    I've put together a listbox which allows a user to view and edit/delete information on a worksheet contained within an add-in

    When set as an add-in it works fine at picking up the formatting/number of columns/rows on the worksheet but picks up the data from the activesheet.

    This is to do with way Userform1 picks up any information for sure! But how do I reference the sheet to only grab data from $DSCMLIST and not the activesheet.

    Attachment enclosed. I'm using Excel 2007.

    Any help much appreciated!

    Cheers

    Danny.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    /
    ----
    OOO

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Listbox Sheet Referencing

    Hi

    Didn't test this but I think the range will have to be in the form
    [workbookname]sheetname!range

    So using your example it could be something like
    Please Login or Register  to view this content.
    You will have to put the code bits in the relevant place..


    HTH

    rylo

  3. #3
    Registered User
    Join Date
    04-30-2007
    Location
    JerseyCI/London
    Posts
    35

    Re: Listbox Sheet Referencing

    Thanks for the info, but no luck with that unfortunately. Any other suggestions?

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Listbox Sheet Referencing

    Hi

    Have both the workbooks open, and manually put in the rowsource for the userform so that it comes from the right place. What does the full name look like?

    rylo

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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