Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
How can I use VBA to show comments above the cell they are attached to rather than to the right? I have found that as the user moves accross the spreadsheet, the comments in the right most columns disappear off the screen until the user scrolls accross. More than a bit annoying! Thanks, -- Traa Dy Liooar Jock |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Jock,
All the methods for positioning comments are here and FWIW I think positioning them centre-screen is excellent and overcomes the problem you describe. http://www.contextures.com/xlcomments03.html#Right Mike "Jock" wrote: Hi, How can I use VBA to show comments above the cell they are attached to rather than to the right? I have found that as the user moves accross the spreadsheet, the comments in the right most columns disappear off the screen until the user scrolls accross. More than a bit annoying! Thanks, -- Traa Dy Liooar Jock |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Mike - I found an option which works well.
-- Traa Dy Liooar Jock "Mike H" wrote: Jock, All the methods for positioning comments are here and FWIW I think positioning them centre-screen is excellent and overcomes the problem you describe. http://www.contextures.com/xlcomments03.html#Right Mike "Jock" wrote: Hi, How can I use VBA to show comments above the cell they are attached to rather than to the right? I have found that as the user moves accross the spreadsheet, the comments in the right most columns disappear off the screen until the user scrolls accross. More than a bit annoying! Thanks, -- Traa Dy Liooar Jock |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Option Explicit
Sub AddComment() AddCommentToCell Range("C12"), "Hello World - Left", True AddCommentToCell Range("C13"), "Hello World - Right" End Sub Sub AddCommentToCell(target As Range, text As String, Optional bLEFT As Boolean) Dim cm As comment Set cm = target.AddComment With cm .text text:=text With .Shape If bLEFT Then .Left = target.Left - Range("C12").Width End If .Width = target.Width End With .Visible = True End With End Sub "Jock" wrote: Hi, How can I use VBA to show comments above the cell they are attached to rather than to the right? I have found that as the user moves accross the spreadsheet, the comments in the right most columns disappear off the screen until the user scrolls accross. More than a bit annoying! Thanks, -- Traa Dy Liooar Jock |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reposition Chart Macro | Excel Programming | |||
reposition combo box ** | Excel Programming | |||
reposition user form | New Users to Excel | |||
reposition windows | Excel Discussion (Misc queries) | |||
Precisely reposition a graphic | Excel Programming |