Hello,
I have an active form where one of the columns is a comment. I need to ensure that the cell wraps to show the entire comment. When the comment is at a level that needs to be reached through drilling, the excel auto-wrap does not get activated. Is there a way I can trap the TM1 "drill" event and force the auto-wrap in VBS maybe ?...
Thank you for your suggestions.
Boris.
TM1 Active Form row drill event ?
-
- MVP
- Posts: 733
- Joined: Wed May 14, 2008 11:06 pm
Re: TM1 Active Form row drill event ?
In the hidden range (TM1RPTFMTRNG) at the top of the active format, you need to set the cells to wrap in that range.boriscb wrote:I need to ensure that the cell wraps to show the entire comment.
This doesn't happen for me, my drilled down cells still wrap nicely. You need to check the type of the row and see if the corresponding row in TM1RPTFMTRNG has the wrap property set for that particular row-type. Check the formulas hidden in column A that use TM1RPTELISCONSOLIDATED etc to find out the row-type. The default active form set-up has 0, 1, 2, 3, D and N. Maybe your 'N' row doesn't have wrap on?boriscb wrote:When the comment is at a level that needs to be reached through drilling, the excel auto-wrap does not get activated.
AFAIK there's no custom event for this, or any TM1 custom events at all. If you've some experience with VBA, then perhaps you could try trapping Worksheet_BeforeDoubleClick and investigating the formula of the cell clicked on. However, I'd investigate the format set-up first as it sounds like the likely source of the issue.boriscb wrote:Is there a way I can trap the TM1 "drill" event and force the auto-wrap in VBS maybe ?...
Robin Mackenzie