A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Printing group symbols on report



 
 
Thread Tools Display Modes
  #1  
Old September 15th, 2003, 09:08 PM
Jim Goughenour
external usenet poster
 
Posts: n/a
Default Printing group symbols on report

How can I get the group symbols to print on my reports?
The group symbols and marks show where one can
collapse/expand sets of rows/columns to hide/reveal
rows/columns. I've looked everywhere for instructions to
do this and have not been successful. Would appreciate
any help anyone can render. Thanks. Jim
  #2  
Old September 15th, 2003, 11:58 PM
Debra Dalgleish
external usenet poster
 
Posts: n/a
Default Printing group symbols on report

AFAIK, there's nothing built in that lets you print with the symbols
visible. However, you could create a User Defined Function, and use it
to display symbols in the first couple of columns.

For example, enter the following function in a module sheet:

Function ShowLevel(rng As Range) As Integer
ShowLevel = rng.EntireRow.OutlineLevel
End Function

Then, in cell A2 on the sheet with the outline, enter the following formula:

=IF(ShowLevel(A2)=COLUMN(),"+","|")

Copy the formula across to cell B2, and down to the last row of data.

Centre the data in the cell, and it will resemble the outline symbols.

Jim Goughenour wrote:
How can I get the group symbols to print on my reports?
The group symbols and marks show where one can
collapse/expand sets of rows/columns to hide/reveal
rows/columns. I've looked everywhere for instructions to
do this and have not been successful. Would appreciate
any help anyone can render. Thanks. Jim



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:53 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.