ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VB Code to size the comment box (https://www.excelbanter.com/excel-programming/303059-vbulletin-code-size-comment-box.html)

Sunil Patel

VB Code to size the comment box
 
After using :- Cells(1,1).Comment.Text Text:=discription$

where discription$="abcdefghijklmnopqrstuvwzyz"

Who do i resiz the comment box using code, such that the box will show the
complete comment.

I have tried to record a macro but this does not work.

Thanks
Sunil



Ron de Bruin

VB Code to size the comment box
 
Look here

http://www.contextures.com/xlcomments03.html#Resize
(From Debra Dalgeish's site)

--
Regards Ron de Bruin
http://www.rondebruin.nl


"SUNIL PATEL" wrote in message ...
After using :- Cells(1,1).Comment.Text Text:=discription$

where discription$="abcdefghijklmnopqrstuvwzyz"

Who do i resiz the comment box using code, such that the box will show the
complete comment.

I have tried to record a macro but this does not work.

Thanks
Sunil






All times are GMT +1. The time now is 11:14 AM.

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