Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Access 2003 VBA Programmer's Reference
This is the forum to discuss the Wrox book Access 2003 VBA Programmer's Reference by Patricia Cardoza, Teresa Hennig, Graham Seach, Armen Stein; ISBN: 9780764559037
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Access 2003 VBA Programmer's Reference section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 29th, 2005, 12:24 PM
Registered User
 
Join Date: Sep 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to gardengirl447
Default Pictures in Automation of Excel

I am creating an excel file from access and I need to insert a picture on the worksheet "A1".

I have the .bmp stored as a OLE object in my globals table but if I have to I will include the necessary picture file in the folder that holds my app and reference the path.

Any ideas???
 
Old October 4th, 2005, 06:15 AM
Registered User
 
Join Date: Sep 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to gardengirl447
Default

Ok I found a way to pull the picture into my header in excel thru access vba, the picture must be in the folder with the app.
Only problem is "Filename" does not seem to be supported by Excel 2000...(working on this solution now)

Public gstrPicPath As String
gstrPicPath = Application.CurrentProject.Path
.LeftHeaderPicture.Filename = (gstrPicPath) & "\name of gif "
.LeftHeader = "&G"

I am still in search of a better way (OF COURSE)!! I would really like to extract the OLE Object from the DB so I dont have to worry about transporting gif files.

 
Old July 4th, 2011, 06:54 PM
Registered User
 
Join Date: Jul 2011
Location: Dallas Texas
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Smile PayDirt is "CONFUSED"

I have a very large excel database of properties I own and properties i want to buy. The program a ton of VB routines and that calculate property values, financials, etc. The properties are defind as A,B,C,D,ETC. wereas Cel A1 = A will equal a specific property that is translated to all the program menus in the program. Example:
on sheet 12 Cel A1 = A; B1 is the Directry Path for the picture of that house (7 Pictures). On my Cover letter I have property data and Smartart captions. currently, I haveto click on the caption and insert the picture manualy. How can i make this Automated? When Cel A1=A that picture is in my caption.
Thank you very much for any help




Similar Threads
Thread Thread Starter Forum Replies Last Post
Change embeded pictures in excel to file names exceldude Excel VBA 2 October 30th, 2012 04:46 AM
Excel Automation MAKO C# 0 August 16th, 2006 01:05 PM
Save Pictures outside Excel jud_ltd Excel VBA 1 May 7th, 2006 08:26 AM
Excel Automation ameysun C# 0 November 4th, 2004 07:33 AM
Excel Automation ameysun Pro VB 6 0 November 4th, 2004 02:55 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.