473,382 Members | 1,441 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

How to open up and search through a Word document using Access VBA?

HI all, I'm in a dire need of help right now. I am not sure if it is even possible, but I need to create an application whereby the user enters a search keyword in an Access form, and the form will locate the Word document, which is stored in Sharepoint. The Word document will then open and be immediately directed to the page whereby the search term was found.

E.g. User searches for "ABC phone number" and the form will open ABC's Word document and immediately be at the phone number's page.

How do I go about doing this? Or at the very least, just open up the correct document from Sharepoint?
Oct 23 '14 #1
1 847
twinnyfo
3,653 Expert Mod 2GB
shawnntjr,

What have you tried so far? This is most likely possible. However, a lot of this will depend upon your expertise.

MS Word can be completely automated using VBA (via Access or any other MS Office application), but what you are asking to do can be very complex.

You are asking the DB (or user) to know while file to open, which begs the question, if the user knows which file to open, why could they not simply open the file and do a manual find of the text item?

Granted, I understand the desire for full automation--and I am on your side there--but sometimes the effort required to automate something so simple is not worth the benefit it provides.

Just a few thoughts. We are standing by to assist further if you show us how you have tried to tackle this problem yourself, as we typically don't offer the entire solution, but assist in troubleshooting non-functioning code.
Oct 23 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Andy Davis | last post by:
How do i or can I open a word document directly from Access? I would like to be able for the user to click a button on my form to open a word document and then also run a macro in Word. Thanks...
8
by: Asma | last post by:
Dear Sir, I am trying to find a way to open a Word document using C language and read the text of word doc into a variable. (Turbo C on Dos 6.0). Can anyone please tell me which libraries in...
3
by: ram | last post by:
how do I open a word document within a webform? I need to open the document within the form so the user can edit the document and then click on a button on the form (so that the document is...
8
by: Tim Murphy | last post by:
How do you read/write a Word document embedded in an OLE Object field in an Access table with VB.NET? I have an Access application where users are creating and editing Word documents that are...
1
by: icthus123 | last post by:
I'm trying to open a word document from access and enter some data from my access form into the document. I've used this code: Dim objWord As Object Dim objDocument As Word.Document ...
1
by: vin4tony | last post by:
Anyone plz help to open a word document using asp.net.I used a code ..but it shown access denied...Can anyone help me.. my error is Access is denied. Description: An unhandled exception occurred...
1
by: beemomo | last post by:
Hi everyone and anyone, i have a form in Access named "Invoice" which store information for each particular invoice. After filling in the particular detail of an invoice, I want to click on a button...
3
by: Bobby | last post by:
Hi, I am using Office 2007. I need to be able to open a Word document from Access and insert a customer name and address depending on the record selected. I guess I could do it using Word...
1
by: deegeorge | last post by:
Hi, I want to export crystal report from ASP .Net in word format. I am able to export crystal report but it dosen't give be the Word toolbar as we can see in when Msword document is opened....
9
by: walid geagea | last post by:
Hello, I have written the following codes in order to open a word document from an Access 2007 form. The document was openned correctively but the problem is that I want to be able to go to a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.