Wrox Programmer Forums
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA 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 2nd, 2004, 05:15 AM
Authorized User
 
Join Date: Jun 2003
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default Insert Image Using VBA

Hi,

Does anyone have the code to insert an image (ie, company logo) using vba in excel 97???

Many Thanks

:)

Tim
__________________
Tim
 
Old September 3rd, 2004, 10:54 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Use the MacroEditor. You'd get code somewhat like this:

    ActiveSheet.Pictures.Insert("C:\somepicture.jpg"). Select
    Application.CommandBars("Picture").Visible = False





Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert Image kuku HTML Code Clinic 2 July 14th, 2005 02:14 AM
problem with this insert statment in vba method Access VBA 1 June 22nd, 2005 12:26 PM
How to insert and retrieve image? hlchuah77 SQL Server 2000 3 February 13th, 2005 11:41 AM
insert a row with vba Butch Excel VBA 1 December 21st, 2004 12:35 PM
How to insert an image to a table ahmadnajib MySQL 1 August 20th, 2004 01:14 AM





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