BobRosas
asked on
FileCopy with asterisk
In VBA I get "Bad file name or number." when I use
FileCopy OldName, NewName
where
OldName = C:\Store\*.txt
and
NewName = E:\Store\
Is * not allowed?
How would I copy just the .txt files from one location to another.
Thanks
FileCopy OldName, NewName
where
OldName = C:\Store\*.txt
and
NewName = E:\Store\
Is * not allowed?
How would I copy just the .txt files from one location to another.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
BobRosas,
You're welcome !
Regards,
Patrick
You're welcome !
Regards,
Patrick
ASKER
Thanks