Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Autofit Comments


Hi,
I have a sheet which has many comments and I want to autofit all th
comments (Just like we do in columns) at the press of a button. is tha
possible through vba?
Thanks in advanc

--
Anan

Excel/VBA Enthusias
-----------------------------------------------------------------------
Anant's Profile: http://www.excelforum.com/member.php...fo&userid=1564
View this thread: http://www.excelforum.com/showthread.php?threadid=27796

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Autofit Comments


hi,

try this one on
onclick event of the button, write

for example:

Columns("D:D").EntireColumn.AutoFit

if you autofit some specify the row and column then the value t
specific columns and row and use it. other wise you just change you
desier column and use it.

sujata

--
sujata_ghos
-----------------------------------------------------------------------
sujata_ghosh's Profile: http://www.excelforum.com/member.php...fo&userid=1643
View this thread: http://www.excelforum.com/showthread.php?threadid=27796

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default Autofit Comments

Hi Anant,
Cell Comments ( see resizing )
http://www.mvps.org/dmcritchie/excel...t.htm#resizing
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Anant" wrote ...
I have a sheet which has many comments and I want to autofit all the
comments (Just like we do in columns) at the press of a button. is that
possible through vba?



Reply
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
excel 2000 how to format the comments font all comments Delquestion Excel Discussion (Misc queries) 1 October 8th 09 02:19 PM
Autofit (Columns.EntireColumn.AutoFit) does not work Michiel via OfficeKB.com Excel Discussion (Misc queries) 3 February 10th 09 05:29 PM
in excel useing comments how do you add clip art to comments? dhouse New Users to Excel 2 July 18th 07 08:14 AM
Comments autofit Jim Rech Excel Programming 0 December 8th 03 03:09 PM
Comments autofit Valeria[_2_] Excel Programming 0 December 8th 03 02:50 PM


All times are GMT +1. The time now is 08:45 PM.

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

About Us

"It's about Microsoft Excel"