+ Reply to Thread
Results 1 to 14 of 14

Active X combo box - linked cell reference is lost after I save, close and re-open workboo

  1. #1
    Registered User
    Join Date
    02-11-2013
    Location
    KY, United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Active X combo box - linked cell reference is lost after I save, close and re-open workboo

    I am new to using these controls. Using the developer tab I inserted an Active X combo box. Under properties I referenced a 'linked cell' that I want the data to appear in. This box works great as long as I keep the sheet open. Once I save and close the workbook and re-open, that reference is lost. It shows #REF! in that field. Why does it lose the reference? I have tried to reference a cell on the same sheet as well as a cell in a different sheet and it keeps the sheet name but not the individual cell. Any advice is welcome.
    Respectfully, biomedky

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Active X combo box - linked cell reference is lost after I save, close and re-open wor

    What exactly did you set the LinkedCell to?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    02-11-2013
    Location
    KY, United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Active X combo box - linked cell reference is lost after I save, close and re-open wor

    At first, I set the linked cell to C26 and it was lost after saving workbook and re-opening it.
    Then I set it to 'sheet name'!C26. It was lost again. Both work as long as I don't close the workbook.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Active X combo box - linked cell reference is lost after I save, close and re-open wor

    Is there anything else in the workbook, eg code, that could affect the linked cell or control?

  5. #5
    Registered User
    Join Date
    02-11-2013
    Location
    KY, United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Active X combo box - linked cell reference is lost after I save, close and re-open wor

    I don't know what an eg code is, so if there is one there, I didn't insert it.

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Active X combo box - linked cell reference is lost after I save, close and re-open wor

    For example code.

  7. #7
    Registered User
    Join Date
    02-11-2013
    Location
    KY, United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Active X combo box - linked cell reference is lost after I save, close and re-open wor

    no.
    Do you know why it would work while I have it open and then once closed it won't work?
    Do you have any other suggestions?

  8. #8
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Active X combo box - linked cell reference is lost after I save, close and re-open wor

    The only think I can think of causing the problem would be if there was some code that was running when the workbook opened, or perhaps at another point, that
    affected the linked cell or the combbox itself.

  9. #9
    Registered User
    Join Date
    02-11-2013
    Location
    KY, United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Active X combo box - linked cell reference is lost after I save, close and re-open wor

    Would it be possible for you to send me an attachment with an active x combo box using a linked cell reference, so that I can look at the properties and compare with mine?

  10. #10
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Active X combo box - linked cell reference is lost after I save, close and re-open wor

    Here you are.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    02-11-2013
    Location
    KY, United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Active X combo box - linked cell reference is lost after I save, close and re-open wor

    I appreciate that. Thank you

  12. #12
    Registered User
    Join Date
    02-11-2013
    Location
    KY, United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Active X combo box - linked cell reference is lost after I save, close and re-open wor

    Hey Norie.
    Thank you for the combo box. Yours works good.
    I have a question. How do you input the cell in that field?
    Do you type it in? Do you actually select the cell by clicking on it?
    Then how do you save the properties for that combo box?
    I have just been x ing out and then getting out of design mode.

  13. #13
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Active X combo box - linked cell reference is lost after I save, close and re-open wor

    I select the combobox, right click and select Properties.

    Then in the Properties sheet I just type in the reference in the LinkedCell field and then exit design mode.

  14. #14
    Registered User
    Join Date
    02-11-2013
    Location
    KY, United States
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Active X combo box - linked cell reference is lost after I save, close and re-open wor

    Thank you.

+ 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