W
William Wolfe
I am running a VBA application and after I have copied data to a worksheet,
I want to copy the column formatting from column N to column N+1. The
following code, first line gives me a 'Select method of Range class failed'.
'Column' is an Integer number.
' Detail_Report.Columns(Column).Select
' Application.CutCopyMode = False
' Selection.Copy
' Detail_Report.Columns(Column + 1).Select
' Selection.PasteSpecial Paste:=xlPasteFormats
What am I doing wrong?
Thanks,
I want to copy the column formatting from column N to column N+1. The
following code, first line gives me a 'Select method of Range class failed'.
'Column' is an Integer number.
' Detail_Report.Columns(Column).Select
' Application.CutCopyMode = False
' Selection.Copy
' Detail_Report.Columns(Column + 1).Select
' Selection.PasteSpecial Paste:=xlPasteFormats
What am I doing wrong?
Thanks,