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

Is there a AutoFit C API function in Excel which i can use to set a
column to auto fit?

THanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default AutoFit function

There is an autofit method.

Worksheets("Sheet1").Columns("A:I").AutoFit


"Donos" wrote:

Is there a AutoFit C API function in Excel which i can use to set a
column to auto fit?

THanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default AutoFit function

I would like to know the C API finction for AutoFit. The below code snippet
might be usinf Ole. I need like xlcXXXXX fundtion.

Thanks,
Siva

"JLGWhiz" wrote:

There is an autofit method.

Worksheets("Sheet1").Columns("A:I").AutoFit


"Donos" wrote:

Is there a AutoFit C API function in Excel which i can use to set a
column to auto fit?

THanks

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
AutoFit function Donos Excel Worksheet Functions 2 January 7th 08 08:51 PM
AutoFit function Donos Excel Discussion (Misc queries) 1 January 7th 08 08:43 PM
Excell autofit row height function brg Excel Worksheet Functions 1 March 28th 07 03:59 AM
How do I modify the autofit function in Excel? NadineWoj Excel Discussion (Misc queries) 2 February 22nd 06 10:25 PM
autofit function in excel solo_razor[_35_] Excel Programming 1 November 17th 03 10:15 AM


All times are GMT +1. The time now is 06:28 AM.

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"