I'm not the same user as the one that posted the question. I still have to create the button code from scratch.
What I want is a button that opens a file dialog where the user can point to a certain file. The hyperlink to the file is then to be inserted in the assigned field.
I'm building a procedure that fills out a word form based on a form in Access. I used this guide (http://msdn.microsoft.com/en-us/library/aa140082(office.10).aspx#) to do it, and it works perfectly for text but not for selection boxes.
Here's an example of the code I use:
With doc...
I have tried and tried to find a function to add an OLE object to a table in a form I made for filling this table.
What I want is a button that will open a file dialog where i can select a file (linked) that will be added to a certain field in a table (this field holds OLE objects).
Can anyone...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.