|
-
Aug 31st, 2001, 10:03 AM
#1
Thread Starter
Lively Member
Excel VB problem - Very excel specific - Please Help
The following code is supposed to set the height of a comment and change the location of the top of the comment:
Code:
xlsChart.Cells(25, intIndex).Comment.Text strComment
xlsChart.Cells(25, intIndex).Comment.Shape.Height = intHeight
If (220 - (intHeight / 2)) > 1.5 Then
xlsChart.Cells(25, intIndex).Comment.Shape.Top = Int(220 - (intHeight / 2))
Else
xlsChart.Cells(25, intIndex).Comment.Shape.Top = 1.5
End If
It sets the height just fine .... but the top won't change ... there seems to be some sort of Auto Locate property for comments that I can't find, because the .top and .left properties are always set to the same distance from the reference cell.
Even if I move the comment in Edit mode, it still returns to the same position.
I have searched the web ... Comment.Shape.Top only returned ONE site when I searched ... it appears nobody bothers programming comments to this level of detail in excel ... believe me I didn't want to either ...
-
Aug 31st, 2001, 10:40 AM
#2
Thread Starter
Lively Member
Come on there must be SOMEONE that's got excel experience!?
-
Aug 31st, 2001, 12:02 PM
#3
Thread Starter
Lively Member
...back to the top .... it's really got me stumped
-
Aug 31st, 2001, 01:55 PM
#4
Thread Starter
Lively Member
-
Sep 4th, 2001, 01:27 PM
#5
Thread Starter
Lively Member
OK .... I'm still looking for the answer to this one so if anyone could help me ... please do...
-
Sep 5th, 2001, 02:25 PM
#6
Thread Starter
Lively Member
No excel gurus in the audience? .....
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
|