Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Embedded pictures in VBA

I work in Excel 2002, (soon in Excel 2007: as soon as I can figure it out!).
I am making a program in VBA that will have a picture (logo) appear in a
header on the first page. At the present time, it goes and gets the pictures
on one of the disk that I specify. Obviously, if I move the program to
another computer, the references have to be changed in the VBA code. Is
there a way to embed the picture in the VBA code, so that it will behave
corectly no matter on which machine it is executed? Or is there another way
to do this?


Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default Embedded pictures in VBA

JacMar,

Have you tried pasting the picture onto an otherwise unsed (and
probably hidden) worksheet, then pasting it from that worksheet to
where you really want it when you want it there? That way it will
travel with your workbook.

= M =


On Feb 10, 10:02 am, JacMar wrote:
I work in Excel 2002, (soon in Excel 2007: as soon as I can figure it out!).
I am making a program in VBA that will have a picture (logo) appear in a
header on the first page. At the present time, it goes and gets the pictures
on one of the disk that I specify. Obviously, if I move the program to
another computer, the references have to be changed in the VBA code. Is
there a way to embed the picture in the VBA code, so that it will behave
corectly no matter on which machine it is executed? Or is there another way
to do this?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Embedded pictures in VBA

Actually, I have not. This is an interesting approach, and I will definitely
try it.

It's just that there's got to be a more elegant way to do this. In other
words, if Excel does not allow to do this directly, it should.

Even if not elegant, if it works, it's good. Thanx.

" wrote:

JacMar,

Have you tried pasting the picture onto an otherwise unsed (and
probably hidden) worksheet, then pasting it from that worksheet to
where you really want it when you want it there? That way it will
travel with your workbook.

= M =


On Feb 10, 10:02 am, JacMar wrote:
I work in Excel 2002, (soon in Excel 2007: as soon as I can figure it out!).
I am making a program in VBA that will have a picture (logo) appear in a
header on the first page. At the present time, it goes and gets the pictures
on one of the disk that I specify. Obviously, if I move the program to
another computer, the references have to be changed in the VBA code. Is
there a way to embed the picture in the VBA code, so that it will behave
corectly no matter on which machine it is executed? Or is there another way
to do this?

Thanks




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Embedded pictures in VBA

Actually, I'm not sure this will work. Or I don't know how to do it.
Remember it would have to be pasted to a LeftHeader. Any ideas?

"JacMar" wrote:

Actually, I have not. This is an interesting approach, and I will definitely
try it.

It's just that there's got to be a more elegant way to do this. In other
words, if Excel does not allow to do this directly, it should.

Even if not elegant, if it works, it's good. Thanx.

" wrote:

JacMar,

Have you tried pasting the picture onto an otherwise unsed (and
probably hidden) worksheet, then pasting it from that worksheet to
where you really want it when you want it there? That way it will
travel with your workbook.

= M =


On Feb 10, 10:02 am, JacMar wrote:
I work in Excel 2002, (soon in Excel 2007: as soon as I can figure it out!).
I am making a program in VBA that will have a picture (logo) appear in a
header on the first page. At the present time, it goes and gets the pictures
on one of the disk that I specify. Obviously, if I move the program to
another computer, the references have to be changed in the VBA code. Is
there a way to embed the picture in the VBA code, so that it will behave
corectly no matter on which machine it is executed? Or is there another way
to do this?

Thanks




Reply
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 do I display embedded pictures in Excel as icons? dkpugh Excel Discussion (Misc queries) 2 November 28th 06 05:04 AM
Interaction of form controls and pictures in Excel 2007 keithrmanning Excel Worksheet Functions 7 November 9th 06 03:39 PM
Are pictures in headers embedded or linked? Debbie Excel Discussion (Misc queries) 1 November 4th 06 11:06 PM
Excel and pictures....a few questions... marko Excel Discussion (Misc queries) 3 February 15th 06 06:45 AM
how do I delete thousands of pictures that are somehow embedded i. Jim Harris Excel Discussion (Misc queries) 4 February 25th 05 02:24 PM


All times are GMT +1. The time now is 09:40 PM.

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

About Us

"It's about Microsoft Excel"