Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Graham Smith 450-458-0101
 
Posts: n/a
Default Freeze row height then insert utton to open cel

I am creating a script/questionaire that will be used by different people. I
would like to create a form (Excel?) where I could enter a question in one
cell then wrap the text in the answer cell, allow the person who is writing
the answer to use as man lines as they want but freeze the height of the
answer cell (to 3 lines) - THEN put a 'button' on/near the answer cell that
would allow someone viewing the completed questionaire to choose wether they
want to view the entire answer.... phew. I've got everything done (thanks to
the forum) except for the 'putting the button on/near the cell to view the
entire contents' part. I know I can just select the cell and go to row -
auto fit but is there another way.
Thanks



  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Freeze row height then insert utton to open cel

One way would be to insert a Comment Box on each of the cells which will
become "answer cells", and then put this macro in the WorkSheet Module for
that sheet.........then, whenever text is entered thereafter into the cell,
it will be automatically copied over to the comment box which will pop-up
when moused over.....

Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
' This macro, placed in a WorkSheet module will automatically
' copy a cell's value over to it's comment box, so large text
' fields in a cell can be viewed without resizing the worksheet.
' by Chuck Roberts, CABGx3
On Error Resume Next
ActiveCell.Comment.Text Text:=ActiveCell.Value
End Sub

Vaya con Dios,
Chuck, CABGx3




"Graham Smith 450-458-0101" wrote:

I am creating a script/questionaire that will be used by different people. I
would like to create a form (Excel?) where I could enter a question in one
cell then wrap the text in the answer cell, allow the person who is writing
the answer to use as man lines as they want but freeze the height of the
answer cell (to 3 lines) - THEN put a 'button' on/near the answer cell that
would allow someone viewing the completed questionaire to choose wether they
want to view the entire answer.... phew. I've got everything done (thanks to
the forum) except for the 'putting the button on/near the cell to view the
entire contents' part. I know I can just select the cell and go to row -
auto fit but is there another way.
Thanks



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
Freeze row height then allow the user to view all with a button Graham Smith 450-458-0101 Excel Discussion (Misc queries) 0 February 23rd 06 08:52 PM
Resizing row height to dynamically fit height of text box Jon Excel Discussion (Misc queries) 1 August 8th 05 01:37 PM
Autofitting a row Josephine Excel Discussion (Misc queries) 2 March 3rd 05 03:37 PM
Shared File & Freeze panes issue JM Excel Discussion (Misc queries) 0 January 21st 05 07:01 PM
Cannot open a file that Excel says is open Plodhia Excel Discussion (Misc queries) 2 December 7th 04 01:43 AM


All times are GMT +1. The time now is 05:48 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"