ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Image in user form (https://www.excelbanter.com/excel-programming/386503-image-user-form.html)

[email protected]

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.


Mark Dullingham

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.



Halim

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.




All times are GMT +1. The time now is 01:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com