LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 279
Default Cell format crosstalk

I am running Excel 2003.
I have a cell whose Format is controlled by Conditional Formatting.
If I change the Font for some characters, I get curious effects.
If, say, I start with 7 characters with applicable format F
FFFFFFF and set the format of 2 characters to G, I expect to see
FFFGGFF.
Instead, I see
FFFGGZZ, where Z is the default format.

I am sure I am not the first to see this behavior.

Can someone please supply references?

I think I need the pseudo-code:
1) Find applicable conditional format;
2) Copy that format;
3) Delete all conditional formats
4) Set the format for the start characters to that copied;
5) Set the modified format for affected characters;
6) Set the format for the remaining characters to that copied.

All I want to do is
C.Characters(start:=Start, Length:=Len).Font.Size = 14
;)

if anyone has working code, I am happy not to reinvent the wheel. ;)
--
Walter Briscoe
 
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
Lock Cell Format - Allow copy and paste of data without format change Chris12InKC Excel Worksheet Functions 2 May 9th 23 07:42 PM
cell format - remove cell format pattern without effecting colors Bas Excel Discussion (Misc queries) 1 March 23rd 09 02:54 PM
Can cell format come from and change with reference cell format jclouse Excel Discussion (Misc queries) 1 November 29th 06 03:20 AM
Custom Cell format to mimic time format [email protected] Excel Discussion (Misc queries) 6 November 7th 06 09:17 PM
How do I copy data in single cell format to a merged cell format Paul Excel Discussion (Misc queries) 1 June 27th 05 11:00 AM


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

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

About Us

"It's about Microsoft Excel"