ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Displaying Cells Comments (https://www.excelbanter.com/excel-programming/286749-displaying-cells-comments.html)

Jmbostock[_5_]

Displaying Cells Comments
 
I'm trying to display a comment in a cell on a worksheet into a text box
on a userform.

For some reason i just can't get it to work.

Also, i've a very long userform that extends beyond the borders of the
screen and i'd like to put a scroll bar in there to aid in its
navigation. I just can't seem to get the userform to move when i click
on the scroll bar.

Hope someone out there can help me.

Thanks in Advance

James


---
Message posted from http://www.ExcelForum.com/


Bob Phillips[_6_]

Displaying Cells Comments
 


"Jmbostock " wrote in message
...
I'm trying to display a comment in a cell on a worksheet into a text box
on a userform.

For some reason i just can't get it to work.



Try something like

Me.TextBox1.Text = Worksheets(1).Range("A1").Comment.Text

from within the userform




All times are GMT +1. The time now is 03:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com