Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
tom tom is offline
external usenet poster
 
Posts: 570
Default Set properties in Excel comments

I have an Excel spreadsheet with a lot of comments that I need to set the
properties for (they're causing an error but I need to keep them). I need to
set the properties of the comments to "move and size with cells" to eliminate
the error I'm getting. Is there a way to set this with VBA or a way to select
all of the comments and change the formatting for them all at once? If you
double-click on a comment and bring up the Format Comment dialog box, then go
to the Properties tab, I need to set the Object positioning to "Move and size
with cells" for about an hundred comments. What's the best way to accomplish
this?

Tom





  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Set properties in Excel comments

hi
what error are you getting? what version of excel are you using?
i am confused. comments are assigned toa cell and do move with the cell. and
the only thing i can format is the fonts.
i suspect that you may be using shapes and confusing them with comments.

regards
FSt1

"Tom" wrote:

I have an Excel spreadsheet with a lot of comments that I need to set the
properties for (they're causing an error but I need to keep them). I need to
set the properties of the comments to "move and size with cells" to eliminate
the error I'm getting. Is there a way to set this with VBA or a way to select
all of the comments and change the formatting for them all at once? If you
double-click on a comment and bring up the Format Comment dialog box, then go
to the Properties tab, I need to set the Object positioning to "Move and size
with cells" for about an hundred comments. What's the best way to accomplish
this?

Tom





  #4   Report Post  
Posted to microsoft.public.excel.misc
tom tom is offline
external usenet poster
 
Posts: 570
Default Set properties in Excel comments


Hi,
It's Excel 2003, the error I'm getting is "cannot shift objects off sheet"
when trying to hide some columns as described he
http://en.allexperts.com/q/Excel-105...ects-sheet.htm
The solution from MS was to change the properties of the objects (comments)
to "move and size with cells" so I was looking for a way to do it with VBA
since there are so many of them on the sheet. I actually found the solution I
was looking for with some more digging at:
http://support.microsoft.com/kb/211769

Sub Test()
Dim s As Shape
On Error Resume Next
For Each s In ActiveSheet.Shapes
s.Placement = xlMoveAndSize
Next
End Sub

thanks anyway though,

Tom

"FSt1" wrote:

hi
what error are you getting? what version of excel are you using?
i am confused. comments are assigned toa cell and do move with the cell. and
the only thing i can format is the fonts.
i suspect that you may be using shapes and confusing them with comments.

regards
FSt1

"Tom" wrote:

I have an Excel spreadsheet with a lot of comments that I need to set the
properties for (they're causing an error but I need to keep them). I need to
set the properties of the comments to "move and size with cells" to eliminate
the error I'm getting. Is there a way to set this with VBA or a way to select
all of the comments and change the formatting for them all at once? If you
double-click on a comment and bring up the Format Comment dialog box, then go
to the Properties tab, I need to set the Object positioning to "Move and size
with cells" for about an hundred comments. What's the best way to accomplish
this?

Tom





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 2000 how to format the comments font all comments Delquestion Excel Discussion (Misc queries) 1 October 8th 09 02:19 PM
Excel text box properties R Ormerod Excel Discussion (Misc queries) 1 August 4th 07 08:31 AM
in excel useing comments how do you add clip art to comments? dhouse New Users to Excel 2 July 18th 07 08:14 AM
Excel Display Properties Susal Excel Discussion (Misc queries) 1 June 14th 07 01:12 AM
Excel Properties Harley New Users to Excel 2 January 19th 06 11:26 PM


All times are GMT +1. The time now is 02:35 PM.

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"