+ Reply to Thread
Results 1 to 2 of 2

Change cell text based on text (from drop-down) in another cell

  1. #1
    Registered User
    Join Date
    12-17-2012
    Location
    Poland
    MS-Off Ver
    2013
    Posts
    57

    Change cell text based on text (from drop-down) in another cell

    Hey all,

    I'd probably figure this out myself, but am on a deadline and need to do it fast. Like in the title, I'm trying to have a certain range have a certain text based on what user inputs in another cell. I thought this code would do the trick:

    Please Login or Register  to view this content.
    But it gives a type mismatch. I'm guessing it's because I'm using .Value instead of .Text for string?

    (*Tried using .Text, but didn't help).

    Thanks for any hints.

  2. #2
    Registered User
    Join Date
    12-17-2012
    Location
    Poland
    MS-Off Ver
    2013
    Posts
    57

    Re: Change cell text based on text (from drop-down) in another cell

    Well, I dug a bit more, since noone was able to help and found a workaround solution. In case anyone is interested, I post it here:

    1. The code that goes in the particular Sheet:

    Please Login or Register  to view this content.
    - this one calls a sub "technical" whenever cell H9 changes its value.

    2. Then the sub "technical" checks what value does H9 contain and based on that, it performs certain tasks:

    Please Login or Register  to view this content.
    Not the perfect way to do it, I'm sure, but one that works.

+ 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. [SOLVED] EXCEL NEWB.....Change cell color based on text in a cell on another sheet
    By anon1988 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-27-2014, 12:16 AM
  2. [SOLVED] Change text color of selected cells based on a text value of another cell
    By JNEWBURY2280 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-09-2014, 11:26 PM
  3. [SOLVED] Excel 2013: Change text in cell based on date in another cell
    By LisaJean in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-14-2014, 08:22 AM
  4. Replies: 1
    Last Post: 02-19-2014, 10:04 PM
  5. Replies: 5
    Last Post: 01-31-2013, 11:25 PM
  6. Macro to Enter Text in Cell B based on Change in Cell A?
    By kaletag in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2012, 11:59 AM
  7. [SOLVED] Change text on one cell based on text in another
    By Sally B. in forum Excel General
    Replies: 1
    Last Post: 06-30-2006, 10:25 AM

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