kdp145 wrote:
put this after the selection.copy statement
filename = Application.GetOpenFilename("Excel files (*.xls), *.xls")
Windows(filename).Activate
this will prompt the user to select an excel file from the Open file
dialog box and activate whichever file the user selects
--
kdp145
------------------------------------------------------------------------
kdp145's Profile: http://www.excelforum.com/member.php...o&userid=29594
View this thread: http://www.excelforum.com/showthread...hreadid=521703
ahh, now thats looking like what i want, only problem is its giving an
error after i open the file i want. "Run-time error'9';
Subscript out of range"
Any ideas? thanks in advance