LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 295
Default Formatting cell comments in VB

Hello, I am trying to add a comment to a cell via the following code.
Everything works except the lines that I have commented out. Could someone
steer me in the right direction. Thanks, Brett



Workbooks(wintools).Sheets("Accounts").Cells(paste row, 11).AddComment
Workbooks(wintools).Sheets("Accounts").Cells(paste row, 11).Comment.Visible =
False
Workbooks(wintools).Sheets("Accounts").Cells(paste row, 11).Comment.Text
Text:="CHECK RATE"
Workbooks(wintools).Sheets("Accounts").Cells(paste row, 11).Select
With Selection.Comment
.Shape.Width = 85
.Shape.Height = 20
' .Shape.HorizontalAlignment = xlCenter
' .Shape.VerticalAlignment = xlCenter
' .Font.Size = 12
' .Font.Bold = True
End With
 
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
Conditional Formatting for Comments Daren Excel Worksheet Functions 1 June 28th 07 02:14 AM
Macro for Conditionally Formatting Comments Daren Excel Worksheet Functions 2 June 28th 07 02:02 AM
formatting comments newyorkjoy Excel Discussion (Misc queries) 0 March 14th 07 01:20 AM
Formatting of Cell Comments with XML-Files Stefan Froehlich Excel Discussion (Misc queries) 0 November 22nd 06 09:10 AM
formatting of comments steve Excel Worksheet Functions 3 May 7th 05 01:18 AM


All times are GMT +1. The time now is 05:43 AM.

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

About Us

"It's about Microsoft Excel"