Thank you so much. It worked but with error:Error 6028: The Range Cannot be Deleted?
I get an option to debug in the error window. I tried changing range from 10000 to 100000 in the code but still the same error. Though the error comes, almost 95% of the headings are converted just fine. Notice that the document has almost 3500 headings.
|