+ Reply to Thread
Results 1 to 5 of 5

error on value linking with drop down

  1. #1
    Forum Contributor
    Join Date
    03-18-2008
    Posts
    162

    error on value linking with drop down

    Hi,

    Can anyone point out why I am getting an error with this code:

    Please Login or Register  to view this content.
    F30,H30 and J30 are drop down menus.

    Thanks

  2. #2
    Forum Contributor
    Join Date
    03-18-2008
    Posts
    162

    Re: error on value linking with drop down

    I have adjusted the code like so:

    Please Login or Register  to view this content.
    The only problem I am having now is Excel is freezes when I change a value.

    Thanks

  3. #3
    Forum Contributor
    Join Date
    03-18-2008
    Posts
    162

    Re: error on value linking with drop down

    I got there in the end, I just changed it to selection change.

    Thanks for those that were trying to help

  4. #4
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: error on value linking with drop down

    Try this:

    Please Login or Register  to view this content.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: error on value linking with drop down

    Hello,

    at the beginning of the code, put

    Please Login or Register  to view this content.
    Since you are changing cell values with the code, the code is constantly calling itself, with each cell change, and it ends up in an endless loop. Disabling events will avoid that.

    cheers, teylyn

+ 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