Automatically Open Hyperlink into Excel Worksheet
I"ve put a hyperlink in a worksheet to a 'gif' file. When I open the spreadsheet, I would like for the image to automatically open into the worksheet.
Keys to the Problem Automatically Open Hyperlink into Excel Worksheet
assuming that you want the picture
in sheet1 tab and in range (Target) A1:D10
1) SaveAs your workbook with extension .xlsm (macros enabled)
2) right click on sheet1 tab, select view code and paste in the following:
Private Sub Worksheet_Activate()
Set Target = Range("A1:D10") '<<< change target range
On Error Resume Next
Dim v As Variant
Dim p As Picture
Application.ScreenUpdating = False
For Each p In ActiveSheet.Pictures
If Not Intersect(p.TopLeftCell, Target) Is Nothing Then p.Delete
v = "http://www.desicomments.com/wallpapers/force_of_nature/force_of_nature_33.jpg"
Set p = ActiveSheet.Pictures.Insert(v)
.Height = Target.Height
.Width = Target.Width
.Top = Target.Top
.Left = Target.Left
Application.ScreenUpdating = True
3) press Alt+Q to close Visual Basic
Make Sure that your System Meets the System Requirements
This error can be due to some configuration requirements for you system. If your PC hardware is not up to par, then make sure you update where necessary before continuing:
Microsoft Windows Requirements :
- 1 gigahertz (GHz) or faster 32-bit (x86) or 64-bit (x64) processor
- 1 gigabyte (GB) RAM (32-bit) or 2 GB RAM (64-bit)
- 16 GB available hard disk space (32-bit) or 20 GB (64-bit)
If your computer meets the minimum requirements above, then continue on…
Recommended Method to Fix the Problem: Automatically Open Hyperlink into Excel Worksheet:
How to Fix Automatically Open Hyperlink into Excel Worksheet with SmartPCFixer?
1. Download Error Fixer . Install it on your computer. Click Scan, and it will perform a scan for your computer. The junk files will be shown in the list.
2. After the scan is done, you can see the errors and problems which need to be repaired.
3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been fixed. You can also use other functions in SmartPCFixer. Like dll downloading, junk file cleaning and print spooler error repair.
Related: AMD Radeon HD 7800M Win8 not working [Anwsered],I can access the internet, get on facebook and get to hotmail, but I can't play games on facebook and I can't open or respond to my e-mails,I keep getting this Media Player error when I log on my computer. [Anwsered],[Anwsered] System Hanging on shutdown and restart,Unable to get the Vlookup property of the WorksheetFunction class,Solution to Error: Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive.
,Troubleshoot:External Hard Drive not listed in Windows 7 backup wizard Error
,I'm always being signed off so annoying Tech Support
,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.
,Solution to Problem: Referencing data in another file
,Troubleshoot:Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive. Error,External Hard Drive not listed in Windows 7 backup wizard Tech Support,Tech Support: I'm always being signed off so annoying,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.,Referencing data in Access using Excel [Anwsered],Need Best Way To Present Data [Anwsered],Same question but for windows 7 home edition,sometimes fullscreen won't activate [Solved],Solution to Error: We bought a new computer with windows 7 and it is constantly freezing. How do we fix this?,Solution to Error: Windows 8 update crash (2013-07-22)
Read More: How Can I Fix - Are \"registry cleaners\" safe to use??,automatically insert text in cell based on adjacent cell?,How Can You Fix - assign rank order to a series of numbers in another column?,Troubleshooting:AutoComplete with the option to overwrite in Word 2007?,How to Fix - Are there margins set automatically??,application not found error,any problems in a team where one has Windows XP and the other has Windows 7?,Application/Object-Defined Error,An Excel formula question where hours are totalled and cumulating,Anyone know the hardware email?