Insert blank row after change in cell value not working.

W

Wackyracer

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?
 
W

Wackyracer

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top