PC Review


Reply
Thread Tools Rate Thread

Blackened cells on pasting

 
 
Raj
Guest
Posts: n/a
 
      15th Apr 2008
Hi,

(I had posted this problem a few days back. As it resolved on its own
after one or two tries, I posted a message to that effect. The problem
is recurring again now. Can anybody please help? It's possibly
something very trivial..)

I have to consolidated sheets from various workbooks in a worksheet.
As the source worksheets contain blank blank rows between data, I am
copying the Worksheet.usedrange and pasting it in the destination
worksheet. On pasting in the destination worksheet, the blank rows
are being filled in black color. Can anybody shed light on why this
is
happening?


When I try to remove the black color using "No fill", it does not
work. However, using Edit-->Clear->Formats, I can remove the black
color.


I am using this line for the copy paste operation:
ws.UsedRange.Copy
Destination:=rspworkbook.Worksheets(rspDestinationsheet).Range("a65536").En*
d(xlUp).Offset(2,
0)


(where rspworkbook = Destination workbook)


How can I get rid of the black color?
Is there a better way to copy usedranges and paste it in the
worksheet
in the other workbook?


Thanks in advance for the help.


Regards,
Raj


 
Reply With Quote
 
 
 
 
Ivyleaf
Guest
Posts: n/a
 
      15th Apr 2008
On Apr 15, 9:43*pm, Raj <rsp...@gmail.com> wrote:
> Hi,
>
> (I had posted this problem a few days back. As it resolved on its own
> after one or two tries, I posted a message to that effect. The problem
> is recurring again now. Can anybody please help? It's possibly
> something very trivial..)
>
> I have to consolidated sheets from various workbooks in a worksheet.
> As the source worksheets contain blank blank rows between data, I am
> copying the Worksheet.usedrange and pasting it in the destination
> worksheet. On pasting in the destination worksheet, *the blank rows
> are being filled in black color. Can anybody shed light on why this
> is
> happening?
>
> When I try to remove the black color using "No fill", it does not
> work. However, using Edit-->Clear->Formats, I can remove the black
> color.
>
> I am using this line for the copy paste operation:
> ws.UsedRange.Copy
> Destination:=rspworkbook.Worksheets(rspDestinationsheet).Range("a65536")..En**
> d(xlUp).Offset(2,
> 0)
>
> (where rspworkbook = Destination workbook)
>
> How can I get rid of the black color?
> Is there a better way to copy usedranges and paste it in the
> worksheet
> in the other workbook?
>
> Thanks in advance for the help.
>
> Regards,
> Raj


Hi Raj,

Could be a number of things... hard to tell without seeing the actual
files. I would try checking for conditional formats though, or also a
customised colour palette maybe? Both of these things could give the
problem you are experiencing but it may also be something else
alltogether.

Cheers,
Ivan.
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Blackened toolbars PA Bear [MS MVP] Windows XP General 0 24th Oct 2009 07:50 AM
Re: Blackened toolbars Peter Foldes Windows XP General 0 24th Oct 2009 07:16 AM
Image pasting to incorrect cells or bad location within cells DonFlak@gmail.com Microsoft Excel Programming 5 10th Oct 2007 04:38 PM
Pasting on Filtered Data Sheets without pasting onto hidden cells =?Utf-8?B?Q0NTTUNB?= Microsoft Excel Misc 1 28th Aug 2005 01:22 PM
Pasting single cells from Word to multiple cells in Excel =?Utf-8?B?QVNCaXNz?= Microsoft Excel Worksheet Functions 1 15th Feb 2005 11:47 AM


Features
 

Advertising
 

Newsgroups
 


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