Copy filename to test box.

  • Thread starter Thread starter John
  • Start date Start date
In the TestIt() function, change:

MsgBox "You selected: " & ahtCommonFileOpenSave(InitialDir:="C:\", _
Filter:=strFilter, FilterIndex:=3, Flags:=lngFlags, _
DialogTitle:="Hello! Open Me!")

To:

txtYourTextboxName = ahtCommonFileOpenSave(InitialDir:="C:\", _
Filter:=strFilter, FilterIndex:=3, Flags:=lngFlags, _
DialogTitle:="Hello! Open Me!")

To assist with your learning, I'd recommend picking up a copy of "Access
2003 VBA Programmer's Reference" from Wrox.

Good luck.

Sco
 
Back
Top