|
-
Jun 23rd, 2004, 04:18 AM
#1
Thread Starter
Lively Member
placement of comments (resolved)
Solution =
Range("G" & nbr).Comment.Shape.Placement = xlFreeFloating
I have thousands of comments that need to have the comment property changed from "Move but don't size with cells", to "Don't move or size with cells". I recorded the change, but haven't been able to find the syntax on how to change the property in a program. F8ing through the code comes up with an error at the .placement line, saying its not supported.
Sub Macro14()
'
dim comm as string
dim nbr as integer
nbr = 1
while nbr < 2000
Range("G" & nbr).Select
comm = Range("G" & nbr).Comment.Text
With Selection
.Placement = xlFreeFloating
.PrintObject = True
End With
nbr = nbr + 1
wend
End Sub
Last edited by Cole Patzman; Jun 23rd, 2004 at 05:03 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|