PDA

View Full Version : Runtime Error 5: Invalid procedure call or argument



Arasi
10-06-2009, 01:41 AM
Hi all,
I am trying to extract the texts from a web page and write it to a text file.
I am able to read the text by using internetexplorer.application but when I try to write it to the notepad sometimes it gives Runtime Error 5: Invalid procedure call or argument.
Microsoft VB Help says that it happens bcoz of "An argument probably exceeds the range of permitted values."
Can someone help me to get rid of this problem.
Thanks in advance.
-Arasi