Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
al al is offline
external usenet poster
 
Posts: 363
Default Ingenious formatting needed?

To present a spreadsheet to my client I hide the columns that are not needed
on a case by case basis.

When I hide un-needed columns the formatting of my "group titles" -
categories of personnel, that sit in a cell that is a merged cell across the
entire group - often gets messed up....squashed too much, spills over onto
the next group title.

Example:
Category "Senior Project Management"
Columns: D - M

For project "cars" I only need columns E, G & H, so I wish to hide the
balance. The title "senior project management" (merged cell D5 - M5) will now
be too big to fit into the three columns, and will spill over, onto the next
category.

Is there any way that the formatting of "Senior Project Management" can be
automated to fit the width of the remaining columns after I have hidden the
ones that I do not need?
  #2   Report Post  
Posted to microsoft.public.excel.misc
ken ken is offline
external usenet poster
 
Posts: 21
Default Ingenious formatting needed?

Al wrote:

categories of personnel, that sit in a cell that is a merged cell across the
entire group - often gets messed up....squashed too much, spills over onto
the next group title.


All I can think of is to not use a merged cell. Select the cells that
need to contain the group title and format them with "Center across
selection" for the alignment, and check "Wrap text".

After you hide your columns you may have to double click on the row
boundary in the row headers to get it to realign, but it worked here
when I did that. I find that merging cells often causes more trouble
than it's worth so if I can get away without it then I will.

Hope that helps,
Ken
  #3   Report Post  
Posted to microsoft.public.excel.misc
al al is offline
external usenet poster
 
Posts: 363
Default Ingenious formatting needed?

Hi Ken, yeah, I guess that'd work, but I was hoping to find a more automated
solution as this crops up frequently. I will revert to "centre across
selection" though.

Is there a means of changing font size if, or example, the quantity of
characters exceeds the max for the width of the selection? (I'm probably
trying to achieve the impossible here!?)

"ken" wrote:

Al wrote:

categories of personnel, that sit in a cell that is a merged cell across the
entire group - often gets messed up....squashed too much, spills over onto
the next group title.


All I can think of is to not use a merged cell. Select the cells that
need to contain the group title and format them with "Center across
selection" for the alignment, and check "Wrap text".

After you hide your columns you may have to double click on the row
boundary in the row headers to get it to realign, but it worked here
when I did that. I find that merging cells often causes more trouble
than it's worth so if I can get away without it then I will.

Hope that helps,
Ken
.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Ingenious formatting needed?

Shrink to fit under the formatcellsalignmenttext control may work for
you.


Gord Dibben MS Excel MVP

On Mon, 11 Jan 2010 19:11:02 -0800, Al wrote:

Hi Ken, yeah, I guess that'd work, but I was hoping to find a more automated
solution as this crops up frequently. I will revert to "centre across
selection" though.

Is there a means of changing font size if, or example, the quantity of
characters exceeds the max for the width of the selection? (I'm probably
trying to achieve the impossible here!?)

"ken" wrote:

Al wrote:

categories of personnel, that sit in a cell that is a merged cell across the
entire group - often gets messed up....squashed too much, spills over onto
the next group title.


All I can think of is to not use a merged cell. Select the cells that
need to contain the group title and format them with "Center across
selection" for the alignment, and check "Wrap text".

After you hide your columns you may have to double click on the row
boundary in the row headers to get it to realign, but it worked here
when I did that. I find that merging cells often causes more trouble
than it's worth so if I can get away without it then I will.

Hope that helps,
Ken
.


  #5   Report Post  
Posted to microsoft.public.excel.misc
al al is offline
external usenet poster
 
Posts: 363
Default Ingenious formatting needed?

Yes, formatting the merged cells using "shrink to fit" automatically does
this when I hide the columns I don't want! Great...thanks!

"Gord Dibben" wrote:

Shrink to fit under the formatcellsalignmenttext control may work for
you.


Gord Dibben MS Excel MVP

On Mon, 11 Jan 2010 19:11:02 -0800, Al wrote:

Hi Ken, yeah, I guess that'd work, but I was hoping to find a more automated
solution as this crops up frequently. I will revert to "centre across
selection" though.

Is there a means of changing font size if, or example, the quantity of
characters exceeds the max for the width of the selection? (I'm probably
trying to achieve the impossible here!?)

"ken" wrote:

Al wrote:

categories of personnel, that sit in a cell that is a merged cell across the
entire group - often gets messed up....squashed too much, spills over onto
the next group title.

All I can think of is to not use a merged cell. Select the cells that
need to contain the group title and format them with "Center across
selection" for the alignment, and check "Wrap text".

After you hide your columns you may have to double click on the row
boundary in the row headers to get it to realign, but it worked here
when I did that. I find that merging cells often causes more trouble
than it's worth so if I can get away without it then I will.

Hope that helps,
Ken
.


.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting help desperately needed Kathy Excel Discussion (Misc queries) 2 March 4th 09 04:24 PM
Conditional formatting Help Needed Raz Excel Discussion (Misc queries) 3 March 3rd 09 05:25 PM
Conditional formatting help needed TGV Excel Discussion (Misc queries) 10 February 10th 09 05:58 PM
conditional formatting help needed learning quickly Excel Discussion (Misc queries) 2 September 10th 07 09:35 PM
Formatting help needed Lynne Mawson New Users to Excel 4 September 15th 06 03:25 PM


All times are GMT +1. The time now is 09:34 AM.

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

About Us

"It's about Microsoft Excel"