Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Copy text cell & change text color conditionally

I want to copy text from cell A1 to cell C1, and if the text in A1 is red,
make C1 black, and vice-versa. There is no formula in A1.
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ian Ian is offline
external usenet poster
 
Posts: 238
Default Copy text cell & change text color conditionally

It should be possible with VBA code, but an easier option might be
conditional formatting. Is there anything specific about the value in A1
which determines the colour? Could you use this property to set a formatting
condition (eg is it red for negative numbers, black for positive. Is it
anything to do with the content eg part of the text, length of the string
etc)?

--
Ian
--
"manxman" wrote in message
...
I want to copy text from cell A1 to cell C1, and if the text in A1 is red,
make C1 black, and vice-versa. There is no formula in A1.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Copy text cell & change text color conditionally

The color of the text is completely independent of its value. The same
number is red in some cells, and black in others.

"Ian" wrote:

It should be possible with VBA code, but an easier option might be
conditional formatting. Is there anything specific about the value in A1
which determines the colour? Could you use this property to set a formatting
condition (eg is it red for negative numbers, black for positive. Is it
anything to do with the content eg part of the text, length of the string
etc)?

--
Ian
--
"manxman" wrote in message
...
I want to copy text from cell A1 to cell C1, and if the text in A1 is red,
make C1 black, and vice-versa. There is no formula in A1.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Button or key to conditionally change text foreground color? Alex New Users to Excel 1 February 27th 06 09:40 PM
Button or key to conditionally change text foreground color? Bob Phillips New Users to Excel 0 February 27th 06 07:30 PM
Button or key to conditionally change text foreground color? Bob Phillips New Users to Excel 0 February 27th 06 07:27 PM
Cell text color change Steffen Excel Discussion (Misc queries) 1 February 23rd 05 10:31 PM
Excel VBA - Trying to change color of cell conditionally abrahamvionas Excel Programming 5 January 8th 04 09:59 PM


All times are GMT +1. The time now is 03:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"