thanks VbaInet, it's correct. i missed the 'x' from the file extention '.docx' and
i reduced the code to open the file is 'Application.FollowHyperlink Nz(LWordDoc, "")'
otherwise it opens the application(ms-word) only and it doesn't open file.
now it's ok. thank u.
and shall i use ,when i...
Re: ms-word document file from the combo box
thanks John big booty, it's correct. i missed the 'x' from the file extention '.docx' and
i reduced the code to open the file is 'Application.FollowHyperlink Nz(LWordDoc, "")'
otherwise it opens the application(ms-word) only and it doesn't open...
Re: word document file should be opened from combo list
thanks VbaInet, it's correct. i missed the 'x' from the file extention '.docx' and
i reduced the code to open the file is 'Application.FollowHyperlink Nz(LWordDoc, "")'
otherwise it opens the application(ms-word) only and it doesn't...
thank you SoS to reply me.
In access 2007, how can i open a ms-word document file from the combo box list directly, when the item clicked from the combo list box.
In my case the name in the (field) list of the combo box is same as the name of the document.
so when i click from the list it...
Re: combo list box - click- open-word.doc
hi, pbaldy
if there there are two columns (first ' id', second 'tenses name') in my table means, i should give 1 as column value, to display the 2nd column, isn't it ?
Then i used a command button to check whether it open the word document or not...
Re: combo list box - click- open-word.doc
thank you pbaldy!
it works as code wise and show the msg box information "file not found".
I already have the word documents to each item in the same name, to identify and open it from the list box easily. (full path is: D:\PROJECT ACCESS DOC\tense...
Re: word document file should be opened from combo list
sorry, i don't have zip facility now.
if you need any information about db i will supply it.
thank you
Re: word document file should be opened from combo list
full path is: D:\PROJECT ACCESS DOC\tense tab\tenses 1-25.doc
but there are many (about 50) items should be listed in the combo box list. i already have the word documents to each item in the same name,to identify and open it from...
Re: word document file should be opened from combo list
hi,
it gives me the err
run time err 490
can not open the specified file
this is the code in text box click event, ok.
Private Sub Text55_Click()
Application.FollowHyperlink Nz(Text55, "")
End Sub
combo list box - click- open-word.doc
hi ,this will be simple or hard i don't know.
In access 2007, how can i open a ms-word document file from the combo box list directly, when the item clicked from the combo list box.
In my case the name in the (field) list of the combo box is same as the...
Re: ms-word document file from the combo box
i try this code below.
is my idea wrong or i am nearing?
help me.
Private Sub Combo5_Click()
Dim ComboValue As String
Dim LWordDoc As String
Dim oApp As Object
ComboValue = [Combo5].Column(0)
'Path to the word document
LWordDoc =...
Re: ms-word document file from the combo box
it's cool. i understood the idea to open the word document by command button.
but i have to open from combo box list which contain number of items.
and i have to choose a item from it and then it should open the corresponding word file directly when...
ms-word document file from the combo box
hi ,this will be simple or hard i don't know.
In access 2007, how can i open a ms-word document file from the combo box list directly, when the item chosen from the combo list box.
In my case the name in the (field) list is same as the name of the...