Thanks for the suggestion Tamar
>>Im am using OLE automation of powerpoint to parse ppt files into a modified HTML format. I cannot use the default export to HTML included in powerpoint.
>>
>>When parsing the information, I need to generate HTML that takes bold, italic, and underline into account (IOW generates appropriate HTML tags < B >, etc). The only way that I have found to generate the HTML is to go character by character through the ranges of text evaluating bold, italic and underline (see the code below).
>>
>>The approach works, but the problem is that iterating character by character (in addition to checking the properties of each character several times) using automation is REALLY REALLY REALLY REALLY REALLY slow. (Did I mention it was slow? < g >.)
>
>Rick - might you be better off using the default export and cleaning up the results? Take a look at Doug Hennig's FoxTalk articles (or EssentialFox session notes) on doing the same with Word's HTML output.
>
>Tamar