Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
tom tom is offline
external usenet poster
 
Posts: 570
Default resize row and colomn height

Hallo,

I dubble clic on the dividing lines to make automatically
the row or colulmn as big as the biggest cell.

I have a lot of cells that have to be resized.
Is it possible to resize all the row and
columns with a macro ?

Thx in advance
Tom

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default resize row and colomn height

Tom,

try
activesheet.columns.autofit
activesheet.rows.autofit




--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Tom wrote :

Hallo,

I dubble clic on the dividing lines to make automatically
the row or colulmn as big as the biggest cell.

I have a lot of cells that have to be resized.
Is it possible to resize all the row and
columns with a macro ?

Thx in advance
Tom

  #3   Report Post  
Posted to microsoft.public.excel.programming
tom tom is offline
external usenet poster
 
Posts: 570
Default resize row and colomn height

It works !

It is a database that generates the xls file, so I have
te make the macro again and again and again ...
Is it possible to integrate the marco into the basis
marco's of excel ?

thx
Tom

-----Original Message-----
Tom,

try
activesheet.columns.autofit
activesheet.rows.autofit




--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Tom wrote :

Hallo,

I dubble clic on the dividing lines to make

automatically
the row or colulmn as big as the biggest cell.

I have a lot of cells that have to be resized.
Is it possible to resize all the row and
columns with a macro ?

Thx in advance
Tom

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default resize row and colomn height

You could put the code in an event that fires it automatically based on some
action. Without knowing your exact situation, it would be hard to tell
which event would be appropriate, without being wasteful. You can look at
Chip Pearson's page on events and make your own decision if one of these
would be appropriate:

http://www.cpearson.com/excel/events.htm

and if workbook and sheet level events don't fit, perhaps an application
level event:

http://www.cpearson.com/excel/appevent.htm

--
Regards,
Tom Ogilvy

"tom" wrote in message
...
It works !

It is a database that generates the xls file, so I have
te make the macro again and again and again ...
Is it possible to integrate the marco into the basis
marco's of excel ?

thx
Tom

-----Original Message-----
Tom,

try
activesheet.columns.autofit
activesheet.rows.autofit




--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Tom wrote :

Hallo,

I dubble clic on the dividing lines to make

automatically
the row or colulmn as big as the biggest cell.

I have a lot of cells that have to be resized.
Is it possible to resize all the row and
columns with a macro ?

Thx in advance
Tom

.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default resize row and colomn height



store it into your personal.xls
then assign a shortcut to it via macro's options.

if you dont have a personal.xls
start macro recorder ,select personal macro workbook .
record something and it will be created for you.



--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


tom wrote :

It works !

It is a database that generates the xls file, so I have
te make the macro again and again and again ...
Is it possible to integrate the marco into the basis
marco's of excel ?

thx
Tom

-----Original Message-----
Tom,

try
activesheet.columns.autofit
activesheet.rows.autofit




--
keepITcool
www.XLsupport.com | keepITcool chello nl | amsterdam



Tom wrote :

Hallo,

I dubble clic on the dividing lines to make

automatically
the row or colulmn as big as the biggest cell.

I have a lot of cells that have to be resized.
Is it possible to resize all the row and
columns with a macro ?

Thx in advance
Tom

.

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
I could NOT resize the axis title but excel allows me to resize gr Iwan Setiyono Ko Charts and Charting in Excel 4 June 6th 06 04:46 AM
I could NOT resize the axis title but excel allows me to resize gr Iwan Setiyono Ko Charts and Charting in Excel 0 March 15th 06 10:34 AM
What is the trick to make rows resize height automatically? Gumby Excel Discussion (Misc queries) 3 July 13th 05 07:12 PM
resize row height and column height Tom Setting up and Configuration of Excel 3 April 3rd 05 02:03 PM
sum of colomn.. Zadig Galbaras Excel Discussion (Misc queries) 2 February 7th 05 07:15 PM


All times are GMT +1. The time now is 10:24 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"