View Single Post
 
Old 04-09-2016, 04:28 PM
BobBridges's Avatar
BobBridges BobBridges is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

I'm not sure I follow. You say you have the code, and then that you need it. There's a difference, I'm sure, between what you have and what you need, but they sound pretty similar.

Say you have the path in a variable called vPath, and you have the filename in a variable called vFile. You say you have the code that adds them together ("concatenates", I suppose you mean) and then pulls ("opens"?) the file. Now what you need, if I follow you, is code that "opens" the folder (but I'm not sure what that means) and then "looks for" the file. Since your program already has the file name, what exactly is it looking for?
Reply With Quote