Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide Column using OLE2

Status
Not open for further replies.

krindler

Programmer
Jul 16, 2002
39
US
Does anyone have any sample code of hiding a column using OLE2. I am using the following code, but it doesn't seem to be working...

args := OLE2.CREATE_ARGLIST
OLE2.ADD_ARG ( args, 'A:A' );
column:=OLE2.GET_OBJ_PROPERTY(worksheet, 'Columns', args );
OLE2.DESTROY_ARGLIST ( args );
OLE2.SET_PROPERTY ( column, 'Hidden', True );
OLE2.RELEASE_OBJ ( column );

Any help you could give me would be much appreciated!!

Thanks In Advance...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top