Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Image in user form

I am trying to embed a visio file in a user form in excel. So I have
a command button that when clicked will display the user form can
anyone help.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default Image in user form

Save the visio image as a gif, jpeg or similar then in the properties window
or the command button,use the drop down handle in picture attribute and
select the image from where ever you saved it.

hth
Mark

" wrote:

I am trying to embed a visio file in a user form in excel. So I have
a command button that when clicked will display the user form can
anyone help.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 182
Default Image in user form

Hi,
a command button that when clicked will display the user form :

A: Open the VBE window and select the project you want to use and insert a
userform in a project.
Then add a commandbutton in a sheet from Control Toolbox toolbar and use
this code for the commandbutton by double clicking in a design mode:
Private Sub CommandButton1_Click()
UserForm1.Show
End Sub
--

Regards,

Halim


" wrote:

I am trying to embed a visio file in a user form in excel. So I have
a command button that when clicked will display the user form can
anyone help.


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
Form image taxman Excel Worksheet Functions 0 August 30th 07 04:32 AM
VBA to display image on a form - image is defined in Range Name Tan Excel Programming 4 May 17th 06 03:37 PM
How to: User Form to assign a user defined range to a macro variab TrevTrav Excel Programming 1 March 22nd 05 07:57 PM
Help! Animated gif-image in form does not show animation when form loaded JoCa Excel Programming 4 September 23rd 04 07:43 PM
Help please- user selectable image Regnar Excel Programming 1 April 21st 04 06:09 PM


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