M
Matthew
I am writing a macro for Excel in VB. I am opening a .csv file from a
protected part of my web site. I have a dialog box requesting my user name
and password. Excel remembered the values from last time, so all I have to
do is click "OK" or hit enter on the keyboard.
I tried the following script, but it seems to want to finish Open Filename
before going on to SendKeys.
Workbooks.Open Filename:= _
"http://www.osbornewood.com/_private/test.csv"
SendKeys "{ENTER}"
How can I make it go on without waiting for the document to actually open?
Is this the correct general idea, or am I totally on the wrong track?
Matthew
protected part of my web site. I have a dialog box requesting my user name
and password. Excel remembered the values from last time, so all I have to
do is click "OK" or hit enter on the keyboard.
I tried the following script, but it seems to want to finish Open Filename
before going on to SendKeys.
Workbooks.Open Filename:= _
"http://www.osbornewood.com/_private/test.csv"
SendKeys "{ENTER}"
How can I make it go on without waiting for the document to actually open?
Is this the correct general idea, or am I totally on the wrong track?
Matthew