Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 29th, 2005, 01: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???
Reply With Quote
  #2 (permalink)  
Old October 4th, 2005, 07: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.

Reply With Quote
  #3 (permalink)  
Old July 4th, 2011, 07: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
Reply With Quote
Reply


Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change embeded pictures in excel to file names exceldude Excel VBA 2 October 30th, 2012 05:46 AM
Excel Automation MAKO C# 0 August 16th, 2006 02:05 PM
Save Pictures outside Excel jud_ltd Excel VBA 1 May 7th, 2006 09: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



All times are GMT -4. The time now is 07:58 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.