Open Folder in Access form button with VBA
Posted on 2013-01-16
I am trying to open a folder on a drive by assigning vba code to a button on my Access form.
If I hard code this path works fine. When I try to assign a variable I get and error path doesnot exist. Any ideas on what I am doing wrong??
Shell "explorer /e, C:\SystemProjectFiles\Ashland", vbNormalFocus
Shell "explorer /e, " & FolderPath & """, vbNormalFocus"