Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2007

Tip: Looking for answers? Try searching our database.

Comments

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Richard - 20 Sep 2007 18:28 GMT
I did some editing and now when I chose to show my comments they are all a
thousand rows down. I have about a hundred of them. Do I have to straighten
them all one at a time are is there someway I can straighten all of them to
be with the cell they belong too. I am trying to save myself about 2 or 3
hours of work.

Richard
Gord Dibben - 20 Sep 2007 18:59 GMT
Use this macro from Debra Dalgleish.

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

If not familiar with VBA and macros, see David McRitchie's site for more on
"getting started".

http://www.mvps.org/dmcritchie/excel/getstarted.htm

In the meantime..........

First...create a backup copy of your original workbook.

To create a General Module, hit ALT + F11 to open the Visual Basic Editor.

Hit CRTL + r to open Project Explorer.

Find your workbook/project and select it.

Right-click and Insert>Module.  Paste the code in there.  Save the
workbook and hit ALT + Q to return to your workbook.

Run or edit the macro by going to Tool>Macro>Macros.

You can also assign this macro to a button or a shortcut key combo.

Gord Dibben  MS Excel MVP

>I did some editing and now when I chose to show my comments they are all a
>thousand rows down. I have about a hundred of them. Do I have to straighten
[quoted text clipped - 3 lines]
>
>Richard
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.