Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default fear of a bug, hope for a workaround

hello! i have come accross a strange problem...it might just be me but here
it goes:
xl2007
i have a range (A1:L17) on sheet2 which i copy by macro to the bottom of
sheet1 every time i need to insert a new contract on sheet 1.
on sheet 2 i have conditional format formulas which apply to whole columns
e.g. B:B , E:K etc.
when this range is pasted on to sheet1 the cf interrupts for that range and
then continues below it.
the strangest thing is that if i apply a cf to the range on sheet2 then when
it is pasted on to sheet1 the cf does not interrupt.
obviously i don't want to have cf on sheet2 because then they create a new
rule on sheet1 every time the range is pasted.
Can anyone suggest a way to "trick" this occurence?
Thanks much

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default fear of a bug, hope for a workaround

sorry typo,
correction:
.....on sheet1 i have conditional format formulas which apply to whole
columns..

"goodfish" wrote:

hello! i have come accross a strange problem...it might just be me but here
it goes:
xl2007
i have a range (A1:L17) on sheet2 which i copy by macro to the bottom of
sheet1 every time i need to insert a new contract on sheet 1.
on sheet 2 i have conditional format formulas which apply to whole columns
e.g. B:B , E:K etc.
when this range is pasted on to sheet1 the cf interrupts for that range and
then continues below it.
the strangest thing is that if i apply a cf to the range on sheet2 then when
it is pasted on to sheet1 the cf does not interrupt.
obviously i don't want to have cf on sheet2 because then they create a new
rule on sheet1 every time the range is pasted.
Can anyone suggest a way to "trick" this occurence?
Thanks much

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default fear of a bug, hope for a workaround

IIRC, when you PASTE a range, you replace the formats in the cell or cells
with the format from the source. This is why you're losing your conditional
formats. You may want to try to PASTE SPECIAL. I'm not sure if you're
copying values or formulas, but jut make sure you're not copying the formats.
--
HTH,

Barb Reinhardt



"goodfish" wrote:

hello! i have come accross a strange problem...it might just be me but here
it goes:
xl2007
i have a range (A1:L17) on sheet2 which i copy by macro to the bottom of
sheet1 every time i need to insert a new contract on sheet 1.
on sheet 2 i have conditional format formulas which apply to whole columns
e.g. B:B , E:K etc.
when this range is pasted on to sheet1 the cf interrupts for that range and
then continues below it.
the strangest thing is that if i apply a cf to the range on sheet2 then when
it is pasted on to sheet1 the cf does not interrupt.
obviously i don't want to have cf on sheet2 because then they create a new
rule on sheet1 every time the range is pasted.
Can anyone suggest a way to "trick" this occurence?
Thanks much

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default fear of a bug, hope for a workaround

yes i thought that might be happening however the formats are not replaced if
the range being pasted contains cf of its own
i cannot do paste values or formulas or anyother as far as i know because
all other cell formats (shading, borders, etc. all need to be copied)

"Barb Reinhardt" wrote:

IIRC, when you PASTE a range, you replace the formats in the cell or cells
with the format from the source. This is why you're losing your conditional
formats. You may want to try to PASTE SPECIAL. I'm not sure if you're
copying values or formulas, but jut make sure you're not copying the formats.
--
HTH,

Barb Reinhardt



"goodfish" wrote:

hello! i have come accross a strange problem...it might just be me but here
it goes:
xl2007
i have a range (A1:L17) on sheet2 which i copy by macro to the bottom of
sheet1 every time i need to insert a new contract on sheet 1.
on sheet 2 i have conditional format formulas which apply to whole columns
e.g. B:B , E:K etc.
when this range is pasted on to sheet1 the cf interrupts for that range and
then continues below it.
the strangest thing is that if i apply a cf to the range on sheet2 then when
it is pasted on to sheet1 the cf does not interrupt.
obviously i don't want to have cf on sheet2 because then they create a new
rule on sheet1 every time the range is pasted.
Can anyone suggest a way to "trick" this occurence?
Thanks much

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
Hope someone can help me Jay Blatherwick Excel Discussion (Misc queries) 1 June 15th 06 06:03 PM
Hope Someone Can Help... Tom Ogilvy Excel Programming 0 October 4th 05 12:54 PM
Last Hope -HELP!! Dick Kusleika[_3_] Excel Programming 3 July 1st 04 06:33 PM
Last Hope -HELP!! Bob Phillips[_6_] Excel Programming 0 June 29th 04 09:08 PM


All times are GMT +1. The time now is 09:19 PM.

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"