+ Reply to Thread
Results 1 to 2 of 2

Reference Cell as range().value doesn't work

  1. #1
    Registered User
    Join Date
    08-07-2013
    Location
    canada
    MS-Off Ver
    Excel 2010,2013
    Posts
    1

    Reference Cell as range().value doesn't work

    Here is my code. It is a simple change shape colour based on cell value. If I put a an actual value for the "Case" statements then it works just fine. Trying to make this more robust by referencing a table/cells and it doesn't update.


    Please Login or Register  to view this content.

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

    Re: Reference Cell as range().value doesn't work

    That should work, have you tried stepping through with F8 after setting a breakpoint, with F9, at the start of the sub.

    By the way, an if statement might be more appropriate.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Link from an external reference doesn't work
    By tfurnivall in forum Suggestions for Improvement
    Replies: 2
    Last Post: 08-04-2013, 10:30 AM
  2. Run doesn't work in reference workbook
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2010, 02:55 PM
  3. Run doesn't work in xlstart reference file
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-03-2010, 05:34 PM
  4. Find function doesn't work with reference and non-visible text in cell (Excel2007)
    By Wiggert in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-25-2009, 09:12 AM
  5. This simple 10 line code doesn't work if just the reference is changed..why?
    By duugg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-10-2009, 02:28 PM

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