Enlarge pics on worksheet...can this be done??

brad2157

New Member
Joined
Nov 21, 2005
Messages
43
I am working on a workbook that has several sheets within it with various information. Each spreadsheet has several pictures on it as well. I would like to have it so that when the small picture is clicked on, then it will pop up a box with a larger version of that particular picture. This would allow small details to be seen, without having to manually drag to resize each picture you wanted to view. I am not even sure this is possible what I am wanting to do.
 
hello,

You can find a lot of examples to open workbooks in a specific folder here on the Board, of course this will need a bit time ...
here is one
Code:
Option Explicit

Public WB As Workbook

Sub open_wb_public_ref()
Dim Filename As String
Dim response As String

Filename = Application.GetOpenFilename(FileFilter:="Excel Files,*.xls", Title:="Please choose workbook to open")
  If Not Chk(Filename) Then
  'If Filename = "False" Then
  response = MsgBox("No file selected" & Chr(10) & "procedure canceled!", 48, "Error")
  Exit Sub
  Else: Set WB = Workbooks.Open(Filename)
  End If
End Sub

Function Chk(myFile As String) As Boolean
Dim fso As Object
Set fso = CreateObject("Scripting.FileSystemObject")
Chk = fso.FileExists(myFile)
Set fso = Nothing
End Function
but perhaps you want to do something else ?
what is "to go to a file location"

best regards,
Erik
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,224,878
Messages
6,181,529
Members
453,053
Latest member
DavidKele

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top