Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2878

Re: OLE AutoFormatAsYouTypeReplaceHyperlinks Properties

$
0
0

Sorry.. It was my mistake .

 

Recorded Macro:

 

With Excel.Application

        .AutoFormatAsYouTypeReplaceHyperlinks = False

    End With

 

The flag is unchecked when I run the above macro in Excel.

 

The code which I written to set the property "AutoFormatAsYouTypeReplaceHyperlinks" is below,

 

CREATE OBJECT gref_excel 'Excel.Application'.

SET PROPERTY OF gref_excel 'AutoFormatAsYouTypeReplaceHyperlinks' = 0.

 

 

I am getting the below dump when I execute the program to set the property.

 

AutoFormatError.JPG

 

Could you please help me to resolve the issue.

 

Thanks,

Sudar


Viewing all articles
Browse latest Browse all 2878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>