Insert blank row after change in cell value not working.

  • Follow


I have used the Gord's VB code posted on here to insert a blank row after 
each change in cell reference without problem several times.

I now have a worksheet that will not run it correctly. It now inserts a 
blank row if the cells text colour changes, although when I paste these 
different cells into another worksheet using edit special paste = values the 
cells justify either left or right depending upon their colour. The different 
colours come from different worksheets so I assume it must be something to do 
with their formatting but the properties for each one appears the same. If I 
manually enter the same references in another column and run the macro to 
work off this column then it runs properly. unfortunately I have 4500 rows.

Any ideas?
0
Reply Utf 2/2/2010 12:50:02 PM

Sorted. As I thought some of the cells were infact text. Re-formatted and 
everything working.

"Wackyracer" wrote:

> I have used the Gord's VB code posted on here to insert a blank row after 
> each change in cell reference without problem several times.
> 
> I now have a worksheet that will not run it correctly. It now inserts a 
> blank row if the cells text colour changes, although when I paste these 
> different cells into another worksheet using edit special paste = values the 
> cells justify either left or right depending upon their colour. The different 
> colours come from different worksheets so I assume it must be something to do 
> with their formatting but the properties for each one appears the same. If I 
> manually enter the same references in another column and run the macro to 
> work off this column then it runs properly. unfortunately I have 4500 rows.
> 
> Any ideas?
0
Reply Utf 2/2/2010 1:11:01 PM


1 Replies
596 Views

(page loaded in 0.048 seconds)

Similiar Articles:
















7/26/2012 2:40:51 PM


Reply: