Recent content by gmingtian

  1. G

    Open a word file from a form

    Got the answer I got this line of code from someone else, thought I would share here: Application.FollowHyperlink CurrentProject.Path & "\" & Me.ID & ".doc" I put this in the form as a Private Sub, OnClick. It assumes that the word document has a file name that correspond to the ID field in...
  2. G

    Open a word file from a form

    Do you mean the sample code posted by "jiminic"? The below part in the code kind of throw me off: "C:\Program Files\Microsoft Office\Office10\WINWORD.EXE N:\SMDiv\Insurance\MemberRelations\FileManagement\ SystemReferrals\" & Forms![SystemReferralActionFrm]![SystemReferralTbl.JobNumber] & ".doc"...
  3. G

    Open a word file from a form

    :) Hi, I am new to VBA and need some help where to beging for one thing I want to do: 1. I want to open a word document from one click on one button on the form. 2. The word doc is named as ID.doc, or ID.pdf, ID being the primary key automatically assigned when the record is entered into the...
Back
Top Bottom