Clickable Hotspots On Picture In Userform

Jan 22, 2008

I have a userform which takes a large amount of sequential geographical data and builds a theoretical model of my layout whithin excel. However I would now like to incorperate an interactive aspect to this userform. I have written code which draws a line diagram whithin a seperate CAD app and imports it as a picture to the excel userform each time the user updates the data, but I would like to be able to select different areas whithin the data by clicking in the appropriate place on the picture in the form. I know this kind of interactivity is a bit beyond visual basics line of duty but my model MUST stay whithin the confines of excel thereforwe my front end must remain VBA for the time being.

My other option is to build up a diagram out of smaller components (boxes etc) whithin the userform. This would be entirely acceptable, however I'm not too sure if its possible to 'create' new pictures on the form from whithin the code.

View 9 Replies


ADVERTISEMENT

Unload Userform Picture

Dec 17, 2008

Using VBA I have used "LoadPicture" to load a picture to a picture frame on my userform. The actual file name is driven from a label. I now want to unload it so the value is None.

Example:

View 3 Replies View Related

Picture In Userform From Sheet

Nov 9, 2009

is it possible to have an image control in a userform to reference a picture inserted on a worksheet?

i have a number of pictures i want to load depending on certain events that happen in my sheet. i would like to be able to have this on multiple computers, and i would prefer to not to have to copy over the workbook AND a picture folder. i would like this to be as self contained as possible.

View 9 Replies View Related

UserForm Picture Select

Oct 27, 2006

I am trying to get my Userform to open the Insert Picture Dialog

Private Sub CommandButton1_Click()

at a set Path

fPath = ThisWorkbook.Path & "Pics" & "*.jpg"

where the user selects the Picture to LoadPicture in Image1 control. No matter what I try I keep getting errors.

View 7 Replies View Related

Picture On Click In Userform

Jul 17, 2007

Is there any way to have a picture pop up when a label or textbox is clicked in a userform? I need the userform to stay open and usable while the picture is open. Basically the picture is supposed to assist the user of how to fill out the section.

View 5 Replies View Related

Display Picture On Userform On Click

Dec 19, 2013

I have below code for dısplaying ımages on userform and ıt Works fıne how ever ı have more then 1 Picture to show so how can ı unload the pıcture and Show the second one and so on

[Code] .....

End sub

View 6 Replies View Related

Resize Picture Size On UserForm

Nov 23, 2006

open the attachment & click the button. I'd like you to please help me in reducing both the height & width of the picture. So that when the button is clicked the pic. overall size will appear smaller.

View 9 Replies View Related

Load Picture From Worksheet Into UserForm

Dec 14, 2006

I have tried a couple things to get this image to show up on my userform and i keep erroring out.

Run-time Error '404' Object required

If i hover over the "userpic" in debug it has the correct referance, its just not doing anything.

Any help or suggestions would be great.
-LightData = Userform
-Pictures all held on sheet5 of wookbook

(I've search and looked at all the threads, which actually lead to what i have below)

Private Sub ComboBox1_Change()
Dim RowOffset As Integer
RowOffset = ComboBox1.ListIndex
userpic = ComboBox1.Text
LightDate.Image1.picture = Sheets("sheet5").Shapes(userpic)
TextBox1.Text = Sheet1. Range("c2").Offset(RowOffset, 35)
CheckBox1.Value = Sheet1.Range("c2").Offset(RowOffset, 37)
CheckBox2.Value = Sheet1.Range("c2").Offset(RowOffset, 38)
CheckBox3.Value = Sheet1.Range("c2").Offset(RowOffset, 39)
CheckBox4.Value = Sheet1.Range("c2").Offset(RowOffset, 40)
CheckBox5.Value = Sheet1.Range("c2").Offset(RowOffset, 41)
CheckBox6.Value = Sheet1.Range("c2").Offset(RowOffset, 42)
CheckBox7.Value = Sheet1.Range("c2").Offset(RowOffset, 43)
CheckBox8.Value = Sheet1.Range("c2").Offset(RowOffset, 44)
CheckBox9.Value = Sheet1.Range("c2").Offset(RowOffset, 45)
CheckBox10.Value = Sheet1.Range("c2").Offset(RowOffset, 46)
CheckBox11.Value = Sheet1.Range("c2").Offset(RowOffset, 47)
End Sub

View 6 Replies View Related

Loading Picture To Userform Based On Cell

Oct 23, 2013

I'm working on an excel table in which I have the following information:

Product
Date
Defect
Defect Picture

N65-P0421
09/15/2013
Broken tab
D:folderpicture.jpg

N65-P0322
09/16/2013
scratches
D:folderpicture1.jpg

I need a userform in which I choose the field "product" and it loads the picture from the path at "Defect Picture". Is it possible?

View 2 Replies View Related

Using Picture And Caption In A Label On Userform At Same Time?

Mar 31, 2014

Is it possible to load an image into a label and have the caption for the label be visible too? I've only been successful having one or the other display but not both.

View 2 Replies View Related

Userform With Multipage / Insert Picture And Format It

Jul 20, 2014

I've got a table in a worksheet. Every time the user double-clicks on one of the cells containing the names for each of the listed items, a userform pops up displaying information about that item. Besides other controls, this userform has an Image Box, that displays a picture of the item, and a Multipage.

What I want to do is to display the same picture shown by the Image Box, on to the Multipage, using the same file, but, and here's the quirk, aditionally, change it's size, turn it monochrome, and set its transparency to a different value.

I've attached an example of the final look I'm seeking. This was done by prior editing of a copy of the image and inserting it using LoadPicture, but this solution is too troublesome as this is done solely for aesthetical purposes, thus not justifying all the hassle a user has to go through everytime he wishes to add a new item to the table.

View 1 Replies View Related

Load Picture In Userform From Images In The Same Workbook?

Jul 27, 2012

I have a workbook with images and have created a userform using VBA in the same.

I wanted to load a picture in the userform from the images on sheet 3.

View 4 Replies View Related

Paste Picture From Workbook To Userform Image Control?

Jul 21, 2014

How can i paste a picture from a workbook to my userform image control? Without having to create loads of code for this to be done? Ive tried something like this

[Code] .....

And cant get anywhere near doing what i want it to do.

View 3 Replies View Related

Vlookup VBA To Lookup Number And Display Name And Picture In Userform

Mar 1, 2014

This workbook UserForm Lookup Picks - Mar 01 2014.xlsm is working with :

HTML Code: [URL] ....

Now I have a need to lookup the name and picture based on only a player number in column A. It works if there is a letter preceding the number, but not if it is just a number.

View 8 Replies View Related

Load Worksheet Picture Into UserForm Image Control

Aug 9, 2007

I have an image box on a userform in Excel VB. Is there ANY WAY to load an image into this image box from an object that I have loaded into an excel worksheet something like

If userform1.checkbox1=True Then
userform1.image.picture = loadpicture (Worksheets("Sheet1").shapes("Object 1"))
ElseIf userform1.checkbox2=True Then
userform1.image.picture = loadpicture (Worksheets("Sheet1").shapes("Object 2"))
Else
msgbox "No image"
Endif

View 2 Replies View Related

Clickable Timestamp

Jan 23, 2009

I would like to set up an Excel spreadsheet for conducting a time and motion study in a workplace setting where someone follows an employee around to document how much time is spent on a variety of activities. Since the person would have a mobile tablet PC to walk around with and track the data, I would like to capture 3 fields of information:

1) Category of function being performed
2) Start date/time of function
3) Stop date/time of function

For #1, I would like to have a drop down box that appears in each row of Column A with a predefined list (i.e. Activity A, Activity B, Activity C, etc.). For #2 and #3, I would like to create a macro that "timestamps" the current date/time when a blank cell is "clicked".

View 5 Replies View Related

Password On A Clickable Button

Apr 15, 2009

I am trying to create a password on a clickable button in Excel. I have put the following code in:

View 11 Replies View Related

Combo Box With Clickable Different Sheets

May 31, 2009

I have joined here with a great expectation. I used the Forum MR Excel , i posted my question there but no one replied . I hope i will get the answer to my question here. My question is

I Have Combo box

When i click on it i get three Things which i have inputed in the list .

1 ) Machine
2 ) Car
3 ) Bike

With each list , a seperate sheet is assign with complete details like machine for machine sheet , car for car sheet and bike for bike sheet .

Now what i want is when i click on the machine i want the Machine sheet to popup within the same workbook , and when i click car i want the car sheet to popup and same for Bike .

I tried to Assign Macro , but for each list , i am getting the same / last result

here is the code

View 14 Replies View Related

Putting A Clickable Link In The Body Of Email Sent

Nov 18, 2008

I've managed to get the following macro working except for one small thing - the link to the folder where the spreadsheet (that will be attached to the email) resides (which I got to work fine in a macro to send out tasks) just ends up as plain text and is not clickable

Make this link clickable in the email so that when the recipient receives the email they can just click on the link and go straight to the relevant folder please? (I've highlighted the line with what I would like to work as a link in red)

View 2 Replies View Related

Create A List Of Files With Clickable Links

Mar 17, 2006

I've found countless, very useful macros that do 1/3 of what i need. My needs:

1) A macro to look in a set network folder, and generate a list of Excel files, and display them (1 per row, just the file name if possible)

2) Each file name is a hyperlink to open that sheet

3) A macro to look at the file listed above, then list in the column B a value from a set cell. So it would ideally output:

1| RH0018.xls A1CellValue
2| RH0019.xls A1CellValue
3| RH0020.xls A1CellValue

View 2 Replies View Related

VLookup - Convert Links To Hyperlink Clickable And Be Sent To Webpage?

Jan 5, 2012

I had someone look up a price on a website, for a list of part numbers, and copy the link to the website page into my spreadsheet.

Now I want to transfer the price and link to my main spreadsheet.

I know how to use VLookup to get the info to my main spreadsheet but when I transfer the link using VLookup it does not come as a hyperlink that I can click on and be sent to the webpage. It is just text.

How do I convert the links to a hyperlink that I can click on and be sent to the webpage?

I have 1200 records.

View 6 Replies View Related

Excel 2007 :: User Friendly Clickable Button?

Sep 5, 2013

I have a file that contains detailed sales information for each sales person. It typically contains over 20k records and the managers find it difficult to look up their sales people.

Currently it is subtotaled for each sales person but there are about 450 sales people across the country and it's not easy to use.

I have seen other Excel files that use buttons and I am wondering if this might be the solution to this issue. In other words, can I create a button where the managers can just click it, key in their sales person's name and get at the records easier? If so, how does that work? How I could make this file more user friendly.

View 9 Replies View Related

Excel 2010 :: Paste Picture Into Small Picture / Diagram Box?

Mar 19, 2012

In Excel 2010, is there any way to paste a picture into a small picture/diagram box, and upon double clicking the picture it would explode to a larger size? And I guess double clicking it again would make it return to its original (smaller) size. I would be pasting several pictures into several different picture/diagram boxes and would need this to be a relative reference so that upon selection it explodes the appropriate picture?

View 1 Replies View Related

Put Chosen Picture In Comment & Retrieve Picture On Other Sheet

Nov 18, 2007

I want to have a sample file in excel which store picture of student in comment, I did this, but when I want to insert picture the file dialog appears, and if I click cancel, then there is an error, why? If some one optimise the code it would be very nice

View 6 Replies View Related

Display A Picture In A Cell When The Picture Name Is Selected

Jun 18, 2014

I have done the above where when I select a picture name from a drop down list it displays the relevant picture in another cell by using the IF function in the named formula

My question is why cant I use VLOOKUP instead of IF in the named formula. When I use it it comes with an error.

View 6 Replies View Related

Write The Picture Name In Cell The Picture Will Appear

Jan 22, 2009

i have saved some pictures in my excel sheet.
in the next sheet i want that when i write the picture name the picture will appear as vlookup helps in the getting text and nos. can i do this with pictures or i tried to get to much from excel.

View 10 Replies View Related

Insert Picture From File Increases File Size More Than The Picture You Inserting

Mar 17, 2009

I am putting together a price list in excel and using images and hyperlinks to jazz it up a bit - what I am finding is that if I insert a 25KB GIF image, the excel file grows in size by over 100KB

why is this disproportionate growth happening and is there a way around it - I dont want my Price List growing too large but need the images....?

View 9 Replies View Related

Hyperlink In Cell Have Email CODE But Hyperlink Is Not Clickable

Jul 2, 2009

I have this code that looks through my worksheet once the conditions are met it will email, and in column "M" I put a hyperlink to where the document is stored. All works as far as the email format, even grabs the hyperlink but it’s not clickable in the email.

Here is the code.

I am outlook 07 and vista 07.

Option Explicit
Const Startingrow = 11 'Data starts on row ##
Const AlarmDelay = 183 'send warning
Sub CheckTimeLeftFac()
'References needed :
'Microsoft Outlook Object Library

Dim i As Long
Dim j As Long
Dim msg As Long
Dim Lastrow As Long
Dim WhoTo As String
Dim SubjectLine As String
Dim MessageBody As String
Dim olMail As Outlook.MailItem
Dim olApp As Outlook.Application
Dim strLink As String

View 10 Replies View Related

Excel 2003 :: Put Picture Into A Cell And Get Picture Name From Another Cell

Mar 23, 2014

I want to paste/show a photo in a particular cell (D2) on a worksheet (called PP). I wish to delete any photo that may already be there in D2.

The picture's name (e.g. J-145.jpg) will be found in another sheet (called MP) in cell H1.

My pictures are stored in a folder (lets call it c:pictures) and the one I want has the same name (J-145.jpg).

I've tried many macros but none work.

View 14 Replies View Related

If True Show Picture 1 Else Show Picture 2

Dec 6, 2007

i m working on a mechanical project , I need to do some modifications to my XLS file that i aint familair with.

http://aycu36.webshots.com/image/348...0572870_rs.jpg

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved