View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
margrabe[_2_] margrabe[_2_] is offline
external usenet poster
 
Posts: 1
Default eliminating quotation marks when writing to a text file

Hi. Below is a very simple macro.

Sub WriteText()

Open "test.html" For Append As #1
Write #1, "<HTML</HTML"
Close

End Sub

All I want to do is create an HTML file based on user inputs. But whe
I run the above code, the file displays the following: "". The sourc
code displays: "<HTML</HTML". How do I keep those quotation mark
from showing up?

Thanks.

Bill

--
Message posted from http://www.ExcelForum.com