LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Dynamic background image in Excel?

On Feb 1, 8:21*am, Luke M wrote:
You are correct, it will require a macro. You can make it so that the picture
is changed when you open the workbook, you can do the following. Open up the
VBE by right-clicking on the sheet tab, view code. In the project navigation
window (if not visible, check under View) navigate to the ThisWorkbook
module. Paste this in, and edit the appropriate lines:

'============
Private Sub Workbook_Open()
* * 'Tell the macro which sheet to work with
* * Sheets("Sheet1").ChartObjects("Chart 1").Activate
* * With ActiveChart.PlotArea

* * 'Which picture file to use?
* * .Fill.UserPicture PictureFile:= _
* * * * "C:\My Documents\My Pictures\My picture.bmp"
* * .Fill.Visible = True
* * End With
End Sub
'=============

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


Thank you, Luke.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restrict a repeating background image in Excel sheet ? wolfhyun Excel Discussion (Misc queries) 2 April 3rd 23 04:33 PM
Using a Word, PDF, Image as a background on Excel. Rodrigo Bravo Charts and Charting in Excel 1 December 21st 07 06:36 PM
Excel background image [email protected] Excel Discussion (Misc queries) 0 December 17th 07 02:13 AM
How do I get the print of the background image of excel? Rahul Gupta Excel Worksheet Functions 0 January 25th 06 07:33 AM
Form-filling application with Excel (background image)? J.Smith Excel Discussion (Misc queries) 1 May 15th 05 08:40 AM


All times are GMT +1. The time now is 11:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"