ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   AutoFit function (https://www.excelbanter.com/excel-programming/403787-autofit-function.html)

Donos

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

THanks

JLGWhiz

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


Siva

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



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

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