esskaykay
12-09-2005, 09:52 AM
Here's another question similar to my previous. Is it possible to have a macro prompt me for the path to a specific file/table I want to import?
Thanks,
SKK
Thanks,
SKK
|
View Full Version : Import Table esskaykay 12-09-2005, 09:52 AM Here's another question similar to my previous. Is it possible to have a macro prompt me for the path to a specific file/table I want to import? Thanks, SKK ted.martin 12-13-2005, 04:26 AM You are going to need a bit of VB code but if you put this is a function, you can use a Macro to call it. I have used Public Variables just to avoid later problems Function Path() Public strPatch as String strPath = InputBox$("Enter the path here", "Path") ' ' Some input data validation code would be useful here" ' End Function :) ted.martin 12-13-2005, 04:27 AM You are going to need a bit of VB code but if you put this in a function, you can use a Macro to call it. I have used Public Variables just to avoid later problems Function Path() Public strPatch as String strPath = InputBox$("Enter the path here", "Path") ' ' Some input data validation code would be useful here" ' End Function :) esskaykay 12-14-2005, 07:57 AM Thanks Ted, SKK |