home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 2497
Discussions: 186,605, Posts: 2,227,028, Members: 230,239
Free Scan: Update Your PC's Outdated Drivers to Optimize Performance
Old September 8th, 2008, 05:19 PM   Digg it!   #1 (permalink)
moo
Senior Member
 
moo's Avatar
 
Join Date: May 2004
Location: on sunny beaches
Posts: 540
Question
Code for VBA 2003 for viewing an OLE that resides in a Table Cell

Here is my problem:

I am using Access and VBA 2003. I have been successful using hyperlinks to a document's original location on our O:\ drive to display it when I click a button on a Form but want to try the embedded method instead. (i.e. OLE)

I have some Word documents with which I have associated Names. I have listed these Names and embedded the documents into 2 columns in an Access Table. The Access Form has a field that displays the Name for a given embedded document. I want to be able to click on the Button for the Name Field on the Access Form and have it display the Word Doc by reading the location as the cell containing the embedded doc in the Table.

I know that sounds confusing. Forget the "why I want to do this". It is someone else's project and I am just helping him figure it out. I say just hyperlink it but, whatever.

Is there code that can let you, basically, open what is in a Table cell? I know the DoCmd.OpenForm "SomeForm" and I know DoCmd.OpenTable "SomeTable" but I essentially need equivalent code for DoCmd.OpenCell "SomeCell".

Anyone?

moo is offline   Reply With Quote
TechIMO.com Ads - Login or register for less ads.
How many errors does your computer have?

You no longer need to guess! This free stability scan and registry cleaner download will give you a complete diagnosis of your Windows registry, identifying errors and conflicts.

FREE instant scan


Guest, Register Free! to remove this ad and get your tech support questions answered in minutes!
Old September 8th, 2008, 11:16 PM     #2 (permalink)
Junior Member
 
Join Date: Sep 2008
Posts: 18
So you're trying to grab data from table on an Access database?

ahmorrow is offline   Reply With Quote
Old September 9th, 2008, 10:38 AM     #3 (permalink)
moo
Senior Member
 
moo's Avatar
 
Join Date: May 2004
Location: on sunny beaches
Posts: 540
The documents are embedded in a table on an Access DB. Which document I need to see depends on what is in the Names field on the Access Form.

I compare the displayed name from the form to the name in the table and then I want to select and open the document that is associated with it.

???

moo is offline   Reply With Quote
Old September 18th, 2008, 04:40 PM     #4 (permalink)
moo
Senior Member
 
moo's Avatar
 
Join Date: May 2004
Location: on sunny beaches
Posts: 540
Nevermind.....it can't be done that way. The solution was to embed all the documents into a Form instead of a table. The file size ends up to be ginormous but, whatever.
moo is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA code to run an Excel Query bwolive Applications and Operating Systems 0 March 30th, 2005 04:18 PM
Excel "Undo" in VBA code?? jjst34 Applications and Operating Systems 2 November 26th, 2003 09:14 AM
Table borders are killin me, image and code inside.... Master Chief Webmastering and Programming 8 July 11th, 2003 03:34 PM
Email VBA Code jaypatel Webmastering and Programming 2 February 8th, 2003 08:25 PM
VBA viewing code for navigation button generated by wizard Turnip12 Webmastering and Programming 3 November 28th, 2002 03:40 PM

Most Active Discussions
Is It Just Me? (522)
Misery Loves Company... (1849)
Why Does the MOON Grow Bigger as It.. (16)
heatsink issue (10)
New Mobo (18)
SSD's, RAID, and External Backup (7)
1 internet. 1 house. 3 computer. ho.. (13)
Is This A Compatible Gaming PC? (18)
UPGRADING C/D DRIVE TO 250GB & .. (12)
Recent Discussions
PNY vs Gainward (3)
UPGRADING C/D DRIVE TO 250GB &a.. (12)
Linksys WRT54G (2)
Contest: Logo and Banner design.. (0)
Hotmail Q (2)
SSD's, RAID, and External Backu.. (7)
Laptop doesn't stay connected t.. (7)
Computer won't start (4)
Official World of Warcraft Thre.. (4528)
FS: Dell 6000 laptop, modded 36.. (2)
Apple iPod touch 16 GB $200 (4)
Six 28-Disc Cross Design Black .. (4)


All times are GMT -4. The time now is 11:01 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28