![]() |
Open HTML as Text
I am trying to open a HTML file as text in Excel VBA to programmatically add
some tags. I tried to use this command: Workbooks.OpenText Filename:=sInputPathFile, Origin:=xlWindows _ , StartRow:=1, DataType:=xlFixedWidth, FieldInfo:=Array(Array(0, 1), Array(200, 1)) Columns("A:A").EntireColumn.AutoFit But it still opens the file as HTML. If I can the extension to .txt it opens fine. Does anyone know a method to open it as text. Thanks, MEG |
All times are GMT +1. The time now is 12:17 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com