Autofit Comments

  • Thread starter Thread starter Anant
  • Start date Start date
A

Anant

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top