I'm writing a macro that works its way down a column and stores the first non-blank cell, populates all blank cells with that value until it finds the next non-blank cell. It takes that value and poulates all blanks. The macro will continue to do this until it hits the bottom of the data. My problem is that if the non-blank value is alpha-numeric (e.g. "00123"), all non-blank cells are populated with a numeric value of 123. I want to retain the leading zeros. There are times when the non-blank value will be a numeric value or a date. In all cases I want to retain the format of non-blank cell.
Any suggestions?
Thanks,
Peter
Any suggestions?
Thanks,
Peter