+ Reply to Thread
Results 1 to 3 of 3

Refresh textbox content

  1. #1
    Registered User
    Join Date
    06-04-2009
    Location
    Paris, France
    MS-Off Ver
    Excel 2003
    Posts
    1

    Refresh textbox content

    Hello,

    I am having the following problem:

    I have a sheet with several textboxes and comboboxes (they are not part of a form, they were added to the sheet directly).

    The texboxes/comboboxes have linkedcells. The textboxes/comboboxes get updated fine when I manually change the linkedcells content, however they are not when the cells get updated from my vba code (I have a loop changing the linkedcells and Id like to see the changes reflected in the spreadsheet as they happen).

    Do you know how I could get the textboxes/comboboxes to get refreshed from my vba code?

    Thank you!

  2. #2
    Registered User
    Join Date
    05-20-2009
    Location
    NY
    MS-Off Ver
    Excel 2003
    Posts
    57

    Re: Refresh textbox content

    Try hardcoding the textboxes/comboboxes inside your loop, then you wouldn't have to worry about linked cells.

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: Refresh textbox content

    My controls from the Forms menu adjust properly when their linked cells are changed with VBA.
    Perhaps switching from ActiveX to Forms controls would work.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

+ 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