#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Picture

Hi All

I have a workbook where I have added a toolbar. Now on
that toolbar I have used the standard numbered pictures,
such as picture number 52 is a piggy bank. I was
wondering if anyone know weather it is possible to import
these button pictures as actual pictures into my program?

Thanks
Jase
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Picture

The won't be very big.

go to tools=Customize

leave the dialog up and select one of the buttons on the menus, then right
click on it and select copy picture

close the dialog and then select the worksheet, do edit=Paste

If you mean bring a picture in to use, reverse this. Get the image in the
clipboard, then tools=customize, then right click on a button with the
dialog still visible and select paste picture.

In code do this with copyface and pasteface.

--
Regards,
Tom Ogilvy



Jase wrote in message
...
Hi All

I have a workbook where I have added a toolbar. Now on
that toolbar I have used the standard numbered pictures,
such as picture number 52 is a piggy bank. I was
wondering if anyone know weather it is possible to import
these button pictures as actual pictures into my program?

Thanks
Jase



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Picture

Thanks heaps for that Tom, I have managed to get this
into an Excel spreadsheet as images, but is it going to be
possible to move them onto a user form?

Thanks in advance
Jase
-----Original Message-----
The won't be very big.

go to tools=Customize

leave the dialog up and select one of the buttons on the

menus, then right
click on it and select copy picture

close the dialog and then select the worksheet, do

edit=Paste

If you mean bring a picture in to use, reverse this. Get

the image in the
clipboard, then tools=customize, then right click on a

button with the
dialog still visible and select paste picture.

In code do this with copyface and pasteface.

--
Regards,
Tom Ogilvy



Jase wrote in

message
...
Hi All

I have a workbook where I have added a toolbar. Now on
that toolbar I have used the standard numbered pictures,
such as picture number 52 is a piggy bank. I was
wondering if anyone know weather it is possible to

import
these button pictures as actual pictures into my

program?

Thanks
Jase



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Picture

Manually, you can copy them to the clipboard, then go to the vbe and go to
the properties window of a control on the userform, such as a commandbutton
or image control, click in picture property space and do ctrl+v.

If you want to do this in code, I think you would need to go to Stephen
Bullen's site and look at his

pastepicture.zip

http://www.bmsltd.co.uk/Excel/Default.htm

http://www.bmsltd.co.uk/DLCount/DLCo...stePicture.zip

--
Regards,
Tom Ogilvy

Jase wrote in message
...
Thanks heaps for that Tom, I have managed to get this
into an Excel spreadsheet as images, but is it going to be
possible to move them onto a user form?

Thanks in advance
Jase
-----Original Message-----
The won't be very big.

go to tools=Customize

leave the dialog up and select one of the buttons on the

menus, then right
click on it and select copy picture

close the dialog and then select the worksheet, do

edit=Paste

If you mean bring a picture in to use, reverse this. Get

the image in the
clipboard, then tools=customize, then right click on a

button with the
dialog still visible and select paste picture.

In code do this with copyface and pasteface.

--
Regards,
Tom Ogilvy



Jase wrote in

message
...
Hi All

I have a workbook where I have added a toolbar. Now on
that toolbar I have used the standard numbered pictures,
such as picture number 52 is a piggy bank. I was
wondering if anyone know weather it is possible to

import
these button pictures as actual pictures into my

program?

Thanks
Jase



.



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
Connect a number to a picture bank and import that picture to exce Dennis Hedo Excel Discussion (Misc queries) 1 March 22nd 10 02:17 PM
Inserting a Picture using Cell as picture name. the-jackal Links and Linking in Excel 12 November 10th 08 09:21 AM
how do I insert picture into cell so vlookup can return picture? ah Excel Worksheet Functions 1 May 1st 07 04:38 AM
insert a picture in to a comment but picture not save on hard disk Pablo Excel Discussion (Misc queries) 0 February 21st 07 03:48 PM
How to extract a picture from an Excel worksheet into a picture fi SARANJAI Excel Discussion (Misc queries) 10 June 12th 05 05:00 AM


All times are GMT +1. The time now is 07:06 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"