Thank you Mr. Dawson for your help with copying formats using Excel VBA. But I still cannot copy from a workbook that is part of a separate .xls file. The code works between worksheets of a workbook in one .xls file. If I try to copy from one file to another I get an "Error '9': Subscript out of range". This occurs even if I specify the path.
Anyone have any thoughts
'referencing separate workbooks, copies the range and its formats -- Ends with error
Workbooks("C:\Folder\Source.xls").Sheets("sourceSheet").Range("A1:IL36").Copy
Workbooks("C:\Folder\Target.xls").Sheets("destSheet").Range("A1:IL36").PasteSpecial (xlPasteAll)
Workbooks("C:\Folder\Source.xls").Sheets("sourceSheet").Range("A:IL").Copy
Workbooks("C:\Folder\Target.xls").Sheets("destSheet").Range("A:IL").PasteSpecial (xlPasteFormats)
'within same workbook, successfully copies the range and its formats of ConfigRelease
Sheets("sourceSheet").Range("A:HI").Copy
Sheets("destSheet").Range("A:HI").PasteSpecial (xlPasteFormats)
Sheets("sourceSheet").Range("A1:HI31").Copy
Sheets("destSheet").Range("A1:HI31").PasteSpecial (xlPasteAll)
Rodcon