View Single Post
 
Old 08-11-2011, 12:35 AM
Catalin.B Catalin.B is offline Windows Vista Office 2007
Expert
 
Join Date: May 2011
Location: Iaşi, Romānia
Posts: 386
Catalin.B is on a distinguished road
Default

you can change this line to this one:
.SetRange ActiveCell.Range(ActiveSheet.Cells(1, 1), ActiveSheet.Cells(1042, 3))
to set the range to rows 1 to 1042, col 1 to 3, in this example
but your macro works weird
Reply With Quote