View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Can I edit .iqy file from code?

It is just a text file, so you can use low level file io

http://support.microsoft.com/support...eio/fileio.asp
File Access with Visual Basic® for Applications


--
Regards,
Tom Ogilvy

"Nathan Gutman" wrote in message
...
Is there a way to edit an .iqy file from code before running the
actual Web Query?
For example when downloading stock prices which require a list of
stock symbols how could I edit the iqy file from an Excel macro before
actually using it.
I know that I can edit it manually using Notepad.

Thanks,
Nathan
One step forward and two steps backwards.