Hello Hulisi,
Check out SpecialCells in Help. If you use it with LastCell (eg LastRow = Cells.SpecialCells(xlCellTypeLastCell).Row, LastCol = Cells.SpecialCells(xlCellTypeLastCell).Column) you can then define a range object to do what you need. Ensure that your formatting tool bar is turned on and then record the formmatting you need. Then do something like the following with the code it creates:
Range(Cells(1,1), Cells(LastRow, LastCol)).yourcodegoeshere
Cells has row first and column second so Cells(1,1) = A1
Have a great day!
j2consulting@yahoo.com