+ Reply to Thread
Results 1 to 5 of 5

VBA code doesn't work when formula in sheet is removed

  1. #1
    Forum Contributor Marco-Kun's Avatar
    Join Date
    04-14-2009
    Location
    Holland
    MS-Off Ver
    Dutch:2007
    Posts
    298

    VBA code doesn't work when formula in sheet is removed

    I had to remove a lot of pictures in the xls file in order to attach it, (since the original is about 5.3mb) but it worked out ..

    When you move your arrow over the titles in column A a picture shows up thanks to a code. When you change the status in column G, the color changes together with the title in column A, as it should.

    Please Login or Register  to view this content.
    When you enter a new status at G190 till G250 it still works, as it should. But when you remove the formulas at D204:219 it doesn't work anymore. What does those formulas have to do with the code seen above? I need those formulas, so it doesn't really matter. But I was wondering if it could still work without those.

    Marco
    Attached Files Attached Files
    Last edited by Marco-Kun; 04-16-2009 at 01:18 PM. Reason: Prefix; SOLVED

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: VBA code doesn't work when formula in sheet is removed

    You should be using a change event not

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Contributor Marco-Kun's Avatar
    Join Date
    04-14-2009
    Location
    Holland
    MS-Off Ver
    Dutch:2007
    Posts
    298

    Re: VBA code doesn't work when formula in sheet is removed

    Thanks. That worked.

    Now I have another thing. When the filter is running on "Watching", as an example, and I add a new status at G190 the screen flickers for a while. It happens with whatever you do; increase or decrease an episode, or type anything at all.. This doesn't happen when the filter on status shows everything. You will see what I mean when you try it on the attachment.
    Attached Files Attached Files

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: VBA code doesn't work when formula in sheet is removed

    Now I have another thing
    Then post another question after marking this as solved

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  5. #5
    Forum Contributor Marco-Kun's Avatar
    Join Date
    04-14-2009
    Location
    Holland
    MS-Off Ver
    Dutch:2007
    Posts
    298

    Re: VBA code doesn't work when formula in sheet is removed

    OK I will ^^ Thanks for helping me out on this one. I knew how to change the prefix though :P

+ 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