Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Is is possible to show a Comment by code instead of mousing over it ?? If yes, can its display position be changed at all ? Thanks - Kirk |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Kirk,
Try code such as the following: With Range("E9") If Not .Comment Is Nothing Then With .Comment With .Shape .Top = Range("E11").Top .Left = Range("G11").Left .Height = 100 .Width = 100 End With .Visible = True End With End If End With Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2009 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Sat, 07 Feb 2009 16:23:51 +1300, kirkm wrote: Is is possible to show a Comment by code instead of mousing over it ?? If yes, can its display position be changed at all ? Thanks - Kirk |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Sat, 07 Feb 2009 12:27:50 -0600, Chip Pearson
wrote: With Range("E9") If Not .Comment Is Nothing Then With .Comment With .Shape .Top = Range("E11").Top .Left = Range("G11").Left .Height = 100 .Width = 100 End With .Visible = True End With End If End With Thanks Chip, I had a lot of fun -and success - with your routine. It showed me quite a lot... however I havent quite got Top and Left working as needed. The comment should show beside a Form, against its RH side and Form Top. I can use absolute values, but anyone else using my workbook may have a different screen resolution - which presumable would want different values. The Form is centered (StartUpPosition 1 - CenterOwner) and I've been trying to use Frm.Width and .Top in place of Range("E11") and Range("G11"). Maybe you know someway this can be done? I've been playing with Set rng = ActiveWindow.VisibleRange and rng.Top - left - height etc. But I've a long way to go ! Also - do you know - can the comment be turned off without needing to calcualting a Range? Thanks - Kirk |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Comments | Excel Discussion (Misc queries) | |||
excel 2000 how to format the comments font all comments | Excel Discussion (Misc queries) | |||
comments | Excel Discussion (Misc queries) | |||
in excel useing comments how do you add clip art to comments? | New Users to Excel | |||
XP comments | Excel Programming |