Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy cell formatting down a column

Status
Not open for further replies.

zp162002

Programmer
Feb 3, 2003
39
US
Hello everyone. Is there an easy way to copy a cell's formatting properties (ex. align text in center of cell, change the fill color from white to green) down a column in Excel 97? I have some code that checks to see if there is a formula in the first cell in a range. If there is a formula, my code copies the formula down a specified number of rows. I want to include some code to copy the cell's formatting properites down the column as well. Thanks in advance.

PZ

 
Hi,

If you are COPYing cell(s) and Pasting, you will get formats unless you do something (ala Paste Special) to NOT.

???

:)

Skip,

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top