Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Comment Boxes

Hello,

I have numerous comment boxes in an Excel spreadsheet. I
want to print the comment boxes, but when I select the
option to show the comments on the sheet, they have moved
quite a distance from the cell (I have added a lot of
columns). Is there a way to quickly re-set the comments
to appear close to the cell they are in? If I have to
manually drag and move them it will take a long time. Any
help is much appreciated. Thanks.

John
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Comment Boxes

Why don't you extract the comments to the exact location of a new worksheet
and then print it out?


"John M" ?????
...
Hello,

I have numerous comment boxes in an Excel spreadsheet. I
want to print the comment boxes, but when I select the
option to show the comments on the sheet, they have moved
quite a distance from the cell (I have added a lot of
columns). Is there a way to quickly re-set the comments
to appear close to the cell they are in? If I have to
manually drag and move them it will take a long time. Any
help is much appreciated. Thanks.

John



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Comment Boxes

The following code will align all comment boxes to the right of the cell
which contains the comment.

John M wrote:
I have numerous comment boxes in an Excel spreadsheet. I
want to print the comment boxes, but when I select the
option to show the comments on the sheet, they have moved
quite a distance from the cell (I have added a lot of
columns). Is there a way to quickly re-set the comments
to appear close to the cell they are in? If I have to
manually drag and move them it will take a long time. Any
help is much appreciated. Thanks.


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,979
Default Comment Boxes

Oops! Somehow, the code fell out of the message on its way to the server:

Sub ResetComments()
Dim cmt As Comment
For Each cmt In ActiveSheet.Comments
cmt.Shape.Top = cmt.Parent.Top + 5
cmt.Shape.Left = cmt.Parent.Offset(0, 1).Left + 5
Next
End Sub


Debra Dalgleish wrote:
The following code will align all comment boxes to the right of the cell
which contains the comment.

John M wrote:

I have numerous comment boxes in an Excel spreadsheet. I want to
print the comment boxes, but when I select the option to show the
comments on the sheet, they have moved quite a distance from the cell
(I have added a lot of columns). Is there a way to quickly re-set the
comments to appear close to the cell they are in? If I have to
manually drag and move them it will take a long time. Any help is
much appreciated. Thanks.





--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

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
Excel VBA and Comment boxes DCPan Excel Worksheet Functions 3 October 17th 08 12:40 AM
pictures in comment boxes? Excel_ing for Greatness Excel Discussion (Misc queries) 2 June 13th 07 11:24 PM
Comment Boxes RWS Excel Discussion (Misc queries) 1 November 3rd 05 01:26 PM
Comment Boxes Steved Excel Worksheet Functions 2 January 25th 05 09:55 PM
comment boxes w-domo Excel Discussion (Misc queries) 1 January 21st 05 01:30 PM


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

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

About Us

"It's about Microsoft Excel"