Click to See Complete Forum and Search --> : Opening a file, copy line, and open another file


Mr. Bean
December 5th, 1999, 11:35 PM
Hello, I'm VB illiterate. I've been writing a Java program and it calls a Word Macro. What I need the macro to do is Open a given file ("file.doc"), read the first line from that file which is the name of a file
("test.doc"), and then open that file up ("test.doc"). Any help would be greatly appreciated. If I'm not making sense, let me know and I'll explain more. Thanks ahead of time for any help. Mr. Bean

FStocker
December 7th, 1999, 12:38 AM
You want to read the first line of a word.doc?
Have you ever opened this word.doc with notepad?
What did you see, and what do you want with the crypted line?