View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Cone Jim Cone is offline
external usenet poster
 
Posts: 3,290
Default Relative Reference Outlining


Suggest you record a macro while manually outlining the range.
You can get the last cell with data in a particular column using:

'If col A...
Dim rngLast as Excel.Range
Set rngLast = Cells(Rows.Count, 1).End (xlup)
MsgBox rngLast.Address

Jim Cone
San Francisco, USA


"waynehinds" wrote in message
...

I am trying to Outline a particular area based on relative referencing.
Basically, I am trying to outline a spreadsheet down to a row called
Grand Total.
In some cases Grand Total may be on row 43 and sometimes row 48.
I need an outline from A1 to AC(Grand Row Total).
Anyone have any suggestions?
--
waynehinds