Use pictures as links to different worksheetsIs there anything like “template sheet” in Excel?Filtering...
Can a person refuse a presidential pardon?
Can I string the D&D Starter Set campaign into another module, keeping the same characters?
Can placing a counter on a creature after it has been assigned as an attacker remove it from combat
Dilemma of explaining to interviewer that he is the reason for declining second interview
Why did the villain in the first Men in Black movie care about Earth's Cockroaches?
Avoiding morning and evening handshakes
Digits in an algebraic irrational number
Is my visa status for all destinations in a flight with connections checked in the beginning or before each flight?
Cookies - Should the toggles be on?
What is 6÷2×(1+2) =?
Why is working on the same position for more than 15 years not a red flag?
Intern applicant asking for compensation equivalent to that of permanent employee
Why is the copy constructor called twice in this code snippet?
If I delete my router's history can my ISP still provide it to my parents?
How can my powered armor quickly replace its ceramic plates?
Why would the Pakistan airspace closure cancel flights not headed to Pakistan itself?
Why is mind meld hard for T'pol in Star Trek: Enterprise?
Why do neural networks need so many training examples to perform?
What's a good word to describe a public place that looks like it wouldn't be rough?
Is it a fallacy if someone claims they need an explanation for every word of your argument to the point where they don't understand common terms?
What is the wife of a henpecked husband called?
Why do no American passenger airlines still operate dedicated cargo flights?
Vertical alignment of rbrace
Why zero tolerance on nudity in space?
Use pictures as links to different worksheets
Is there anything like “template sheet” in Excel?Filtering data in excel with embedded picturesExcel file links through SharePointHide rows until neededExcel sheet with list of servers and links to different Remote Desktopsif indexmatch = #N/A keep original cell valueWhy does Excel keep forgetting my network links that use UNC path string?Working with Worksheets in excelList database from different worksheetsCombine multiple worksheets into one sheet while excluding some worksheets
I have pictures of several products. I have to link each picture with an Excel sheet in such a way that when I click on the picture, it will open the right Excel sheet. How can I do this?
yes these pictures are in my computer. these pictures are picture of the procducts and the person want to open the price bar of the products in the excel sheet when he click on the picture of the product. the excel sheet is complete. I have tried but could'nt find a solution. you some solution please. maybe have to upload them on a website first?
microsoft-excel
add a comment |
I have pictures of several products. I have to link each picture with an Excel sheet in such a way that when I click on the picture, it will open the right Excel sheet. How can I do this?
yes these pictures are in my computer. these pictures are picture of the procducts and the person want to open the price bar of the products in the excel sheet when he click on the picture of the product. the excel sheet is complete. I have tried but could'nt find a solution. you some solution please. maybe have to upload them on a website first?
microsoft-excel
What have you tried? What research have you done and what have you learned? Where are these pictures located, what sort of file/document/source? Right now your question lacks much of the information necessary to give you an answer. Use the EDIT button to add any and all necessary and relevant contextual information to the question itself.
– music2myear
Feb 15 at 19:02
And could you pleaseedit your question to give us more info. We don't have access to your computer or your mind...
– cybernetic.nomad
Feb 15 at 19:04
In the user scenario, are the clickable pictures in an Excel Workbook or is the user clicking on the picture's file icon located on the desktop (or some other folder)?
– Ted D.
3 hours ago
add a comment |
I have pictures of several products. I have to link each picture with an Excel sheet in such a way that when I click on the picture, it will open the right Excel sheet. How can I do this?
yes these pictures are in my computer. these pictures are picture of the procducts and the person want to open the price bar of the products in the excel sheet when he click on the picture of the product. the excel sheet is complete. I have tried but could'nt find a solution. you some solution please. maybe have to upload them on a website first?
microsoft-excel
I have pictures of several products. I have to link each picture with an Excel sheet in such a way that when I click on the picture, it will open the right Excel sheet. How can I do this?
yes these pictures are in my computer. these pictures are picture of the procducts and the person want to open the price bar of the products in the excel sheet when he click on the picture of the product. the excel sheet is complete. I have tried but could'nt find a solution. you some solution please. maybe have to upload them on a website first?
microsoft-excel
microsoft-excel
edited Feb 16 at 10:45
Adnan Khan
asked Feb 15 at 18:45
Adnan KhanAdnan Khan
12
12
What have you tried? What research have you done and what have you learned? Where are these pictures located, what sort of file/document/source? Right now your question lacks much of the information necessary to give you an answer. Use the EDIT button to add any and all necessary and relevant contextual information to the question itself.
– music2myear
Feb 15 at 19:02
And could you pleaseedit your question to give us more info. We don't have access to your computer or your mind...
– cybernetic.nomad
Feb 15 at 19:04
In the user scenario, are the clickable pictures in an Excel Workbook or is the user clicking on the picture's file icon located on the desktop (or some other folder)?
– Ted D.
3 hours ago
add a comment |
What have you tried? What research have you done and what have you learned? Where are these pictures located, what sort of file/document/source? Right now your question lacks much of the information necessary to give you an answer. Use the EDIT button to add any and all necessary and relevant contextual information to the question itself.
– music2myear
Feb 15 at 19:02
And could you pleaseedit your question to give us more info. We don't have access to your computer or your mind...
– cybernetic.nomad
Feb 15 at 19:04
In the user scenario, are the clickable pictures in an Excel Workbook or is the user clicking on the picture's file icon located on the desktop (or some other folder)?
– Ted D.
3 hours ago
What have you tried? What research have you done and what have you learned? Where are these pictures located, what sort of file/document/source? Right now your question lacks much of the information necessary to give you an answer. Use the EDIT button to add any and all necessary and relevant contextual information to the question itself.
– music2myear
Feb 15 at 19:02
What have you tried? What research have you done and what have you learned? Where are these pictures located, what sort of file/document/source? Right now your question lacks much of the information necessary to give you an answer. Use the EDIT button to add any and all necessary and relevant contextual information to the question itself.
– music2myear
Feb 15 at 19:02
And could you pleaseedit your question to give us more info. We don't have access to your computer or your mind...
– cybernetic.nomad
Feb 15 at 19:04
And could you pleaseedit your question to give us more info. We don't have access to your computer or your mind...
– cybernetic.nomad
Feb 15 at 19:04
In the user scenario, are the clickable pictures in an Excel Workbook or is the user clicking on the picture's file icon located on the desktop (or some other folder)?
– Ted D.
3 hours ago
In the user scenario, are the clickable pictures in an Excel Workbook or is the user clicking on the picture's file icon located on the desktop (or some other folder)?
– Ted D.
3 hours ago
add a comment |
3 Answers
3
active
oldest
votes
First the set the Name of each picture to the Name of the desired destination sheet. (so we have a Picture or Shape named "dog" and a worksheet also named "dog")
Then assign this macro to all Pictures:
Sub ClickMe()
Sheets(ActiveSheet.Shapes(Application.Caller).Name).Activate
End Sub
EDIT#1:
Macros are very easy to install and use:
- ALT-F11 brings up the VBE window
- ALT-I
ALT-M opens a fresh module - paste the stuff in and close the VBE window
If you save the workbook, the macro will be saved with it.
If you are using a version of Excel later then 2003, you must save
the file as .xlsm rather than .xlsx
To remove the macro:
- bring up the VBE window as above
- clear the code out
- close the VBE window
To use the macro from the Excel window:
- Click the associated Picture or Shape
To learn more about macros in general, see:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
and
http://msdn.microsoft.com/en-us/library/ee814735(v=office.14).aspx
Macros must be enabled for this to work!
went to the custimize ribbon and to macros how to assign this macro to all pictures?
– Adnan Khan
Feb 16 at 11:25
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ?????
– Adnan Khan
Feb 16 at 12:55
@AdnanKhan Rename the picture to match the worksheet name
– Gary's Student
Feb 16 at 13:18
hello sir when save amcro it gives me this message: "The following features cannot be saved in macro free books. to save the file file in this way select no and then select the macro-enabled file type in the file type list" what to do now???
– Adnan Khan
Feb 16 at 15:24
@AdnanKhan See my EDIT#1 ...................especially the part about .XLSM
– Gary's Student
Feb 16 at 15:31
|
show 9 more comments
Insert Picture Into Cell:
- Insert tab (on ribbon), Illustrations section, Pictures -> opens dialogue, Select image.
- Size the image small enough and the cell large enough that the image fits within the cell.
- Lock the image into the cell: Right click image, Size and Properties ... -> opens dialogue, Properties Section (expand if closed by clicking Properties), select Move and size with cells (& Print as desired).
Link Cell To a Sheet in this Workbook:
- Right Click Image in cell, Select Link, Dialogue opens.
- In the "Link to:" section, Select "Place in This Document".
- Modify the cell reference as desired.
- Select "ScreenTip..." and enter the mouse over text if desired. Click OK
- Click OK.
Alternate: Entire cell as clickable link (not just image).
- Follow steps for placing an image in a spreadsheet cell (someplace out of the way).
- Copy this cell (not the image). Select the cell with the arrow keys instead of the mouse may be easier, then press Ctrl-c to copy.
- Right click the cell for the link, Paste Special..., Other Paste Options section (at bottom), clipboard on right with links (there are two like this), Select the one with screentip or label "Linked Picture" (not "Paste Link").
- Complete Step 3 of "Insert Picture Into Cell - Lock the image into the cell"
- Complete all steps of "Link Cell To a Sheet in this Workbook". Note for step 1: Right Click the Cell (since the entire cell is one with the image - source: Yoda).
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ????? –
– Adnan Khan
Feb 16 at 13:00
This solution does not use any picture names. You have posted the same comment to two different solutions. To which solution does your comment apply?
– Ted D.
Feb 16 at 22:21
i just want open the specific cell of the excel sheet when i click on the picture. do you know how do that?
– Adnan Khan
2 days ago
@AdnanKhan In this answer under the section: Link Cell To a Sheet in this Workbook: - Step 3. Modify the cell reference as desired. The answer provides this exact instruction on linking to a specific cell. Also of note, since you seem to be struggling with the macro issues, this answer does not use macros. The result can be achieved using the built in Excel formula or by using the Ribbon Link button or by right clicking...
– Ted D.
2 days ago
ok thanks. working on it and if solved will let you know
– Adnan Khan
5 hours ago
|
show 3 more comments
User Scenario: Clicking Windows Desktop Pic to Open Excel
Specifically, an Excel Workbook's Worksheet and Cell associated with the product in the icon image.
Assumes the user will be clicking an icon of a product image, either on the desktop or in some other folder.
Previous answers assumed the images were in the cells of a worksheet inside an Excel workbook.
Here is the solution:
With createobject("Excel.Application")
.Goto .Workbooks.Open(WScript.Arguments.Named.Item("book")). _
Worksheets(WScript.Arguments.Named.Item("sheet")). _
Range(WScript.Arguments.Named.Item("range"))
.visible = True
End With
- Save the code to a file named ExcelShortcuts.vba and be sure the file has the ".vba" extension.
- Create a shortcut to this file. (quick tip, drag the file icon and hold the Alt before and while releasing the left mouse button.)
- Rename the shortcut Product_1_Name, whatever that may be (no filename extension needed).
- Right click the Product_1_Name file shortcut icon and select
Properties. - In the Properties dialogue, select the
Shortcuttab and make these two changes:
- In the
Targettext box, at the end after...ExcelShortcuts.vba(and after any closing quote):
- Add a space and
/book:"C:UsersnameDesktopProductWorkbook.xlsx" /sheet:Sheet1 /range:A1
/book:FilePathFileNameReplace the file path and name as appropriate for the product
/sheet:Sheet1ChangeSheet1to the sheet name for the product. If the Sheet Name has spaces, use quotes starting right after the:./sheet:"Quote Special Chars ! too"
/range:A1Change theA1to the cell address to focus on.
- Add a space and
- Click
Change Icon...
- Navigate to the folder (
Browse) with the product pictures and select the image for this product. - Click
OK
- Navigate to the folder (
- In the
- Click
OK
Now there is a shortcut with the product image on it. The shortcut is to the special VBSCript which will open Excel. The script will use the arguments supplied to the shortcut to know which Workbook to open and which Worksheet to turn to and which cell to focus on.
Make more shortcuts to the ExcelShortcuts.vba script. Rename each one to a product name. Modify the shortcuts Target (add /book: /sheet: /range:) and change the icon image to one which represents the product.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1406215%2fuse-pictures-as-links-to-different-worksheets%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
First the set the Name of each picture to the Name of the desired destination sheet. (so we have a Picture or Shape named "dog" and a worksheet also named "dog")
Then assign this macro to all Pictures:
Sub ClickMe()
Sheets(ActiveSheet.Shapes(Application.Caller).Name).Activate
End Sub
EDIT#1:
Macros are very easy to install and use:
- ALT-F11 brings up the VBE window
- ALT-I
ALT-M opens a fresh module - paste the stuff in and close the VBE window
If you save the workbook, the macro will be saved with it.
If you are using a version of Excel later then 2003, you must save
the file as .xlsm rather than .xlsx
To remove the macro:
- bring up the VBE window as above
- clear the code out
- close the VBE window
To use the macro from the Excel window:
- Click the associated Picture or Shape
To learn more about macros in general, see:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
and
http://msdn.microsoft.com/en-us/library/ee814735(v=office.14).aspx
Macros must be enabled for this to work!
went to the custimize ribbon and to macros how to assign this macro to all pictures?
– Adnan Khan
Feb 16 at 11:25
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ?????
– Adnan Khan
Feb 16 at 12:55
@AdnanKhan Rename the picture to match the worksheet name
– Gary's Student
Feb 16 at 13:18
hello sir when save amcro it gives me this message: "The following features cannot be saved in macro free books. to save the file file in this way select no and then select the macro-enabled file type in the file type list" what to do now???
– Adnan Khan
Feb 16 at 15:24
@AdnanKhan See my EDIT#1 ...................especially the part about .XLSM
– Gary's Student
Feb 16 at 15:31
|
show 9 more comments
First the set the Name of each picture to the Name of the desired destination sheet. (so we have a Picture or Shape named "dog" and a worksheet also named "dog")
Then assign this macro to all Pictures:
Sub ClickMe()
Sheets(ActiveSheet.Shapes(Application.Caller).Name).Activate
End Sub
EDIT#1:
Macros are very easy to install and use:
- ALT-F11 brings up the VBE window
- ALT-I
ALT-M opens a fresh module - paste the stuff in and close the VBE window
If you save the workbook, the macro will be saved with it.
If you are using a version of Excel later then 2003, you must save
the file as .xlsm rather than .xlsx
To remove the macro:
- bring up the VBE window as above
- clear the code out
- close the VBE window
To use the macro from the Excel window:
- Click the associated Picture or Shape
To learn more about macros in general, see:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
and
http://msdn.microsoft.com/en-us/library/ee814735(v=office.14).aspx
Macros must be enabled for this to work!
went to the custimize ribbon and to macros how to assign this macro to all pictures?
– Adnan Khan
Feb 16 at 11:25
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ?????
– Adnan Khan
Feb 16 at 12:55
@AdnanKhan Rename the picture to match the worksheet name
– Gary's Student
Feb 16 at 13:18
hello sir when save amcro it gives me this message: "The following features cannot be saved in macro free books. to save the file file in this way select no and then select the macro-enabled file type in the file type list" what to do now???
– Adnan Khan
Feb 16 at 15:24
@AdnanKhan See my EDIT#1 ...................especially the part about .XLSM
– Gary's Student
Feb 16 at 15:31
|
show 9 more comments
First the set the Name of each picture to the Name of the desired destination sheet. (so we have a Picture or Shape named "dog" and a worksheet also named "dog")
Then assign this macro to all Pictures:
Sub ClickMe()
Sheets(ActiveSheet.Shapes(Application.Caller).Name).Activate
End Sub
EDIT#1:
Macros are very easy to install and use:
- ALT-F11 brings up the VBE window
- ALT-I
ALT-M opens a fresh module - paste the stuff in and close the VBE window
If you save the workbook, the macro will be saved with it.
If you are using a version of Excel later then 2003, you must save
the file as .xlsm rather than .xlsx
To remove the macro:
- bring up the VBE window as above
- clear the code out
- close the VBE window
To use the macro from the Excel window:
- Click the associated Picture or Shape
To learn more about macros in general, see:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
and
http://msdn.microsoft.com/en-us/library/ee814735(v=office.14).aspx
Macros must be enabled for this to work!
First the set the Name of each picture to the Name of the desired destination sheet. (so we have a Picture or Shape named "dog" and a worksheet also named "dog")
Then assign this macro to all Pictures:
Sub ClickMe()
Sheets(ActiveSheet.Shapes(Application.Caller).Name).Activate
End Sub
EDIT#1:
Macros are very easy to install and use:
- ALT-F11 brings up the VBE window
- ALT-I
ALT-M opens a fresh module - paste the stuff in and close the VBE window
If you save the workbook, the macro will be saved with it.
If you are using a version of Excel later then 2003, you must save
the file as .xlsm rather than .xlsx
To remove the macro:
- bring up the VBE window as above
- clear the code out
- close the VBE window
To use the macro from the Excel window:
- Click the associated Picture or Shape
To learn more about macros in general, see:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
and
http://msdn.microsoft.com/en-us/library/ee814735(v=office.14).aspx
Macros must be enabled for this to work!
edited Feb 22 at 17:07
answered Feb 15 at 19:22
Gary's StudentGary's Student
13.7k31730
13.7k31730
went to the custimize ribbon and to macros how to assign this macro to all pictures?
– Adnan Khan
Feb 16 at 11:25
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ?????
– Adnan Khan
Feb 16 at 12:55
@AdnanKhan Rename the picture to match the worksheet name
– Gary's Student
Feb 16 at 13:18
hello sir when save amcro it gives me this message: "The following features cannot be saved in macro free books. to save the file file in this way select no and then select the macro-enabled file type in the file type list" what to do now???
– Adnan Khan
Feb 16 at 15:24
@AdnanKhan See my EDIT#1 ...................especially the part about .XLSM
– Gary's Student
Feb 16 at 15:31
|
show 9 more comments
went to the custimize ribbon and to macros how to assign this macro to all pictures?
– Adnan Khan
Feb 16 at 11:25
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ?????
– Adnan Khan
Feb 16 at 12:55
@AdnanKhan Rename the picture to match the worksheet name
– Gary's Student
Feb 16 at 13:18
hello sir when save amcro it gives me this message: "The following features cannot be saved in macro free books. to save the file file in this way select no and then select the macro-enabled file type in the file type list" what to do now???
– Adnan Khan
Feb 16 at 15:24
@AdnanKhan See my EDIT#1 ...................especially the part about .XLSM
– Gary's Student
Feb 16 at 15:31
went to the custimize ribbon and to macros how to assign this macro to all pictures?
– Adnan Khan
Feb 16 at 11:25
went to the custimize ribbon and to macros how to assign this macro to all pictures?
– Adnan Khan
Feb 16 at 11:25
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ?????
– Adnan Khan
Feb 16 at 12:55
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ?????
– Adnan Khan
Feb 16 at 12:55
@AdnanKhan Rename the picture to match the worksheet name
– Gary's Student
Feb 16 at 13:18
@AdnanKhan Rename the picture to match the worksheet name
– Gary's Student
Feb 16 at 13:18
hello sir when save amcro it gives me this message: "The following features cannot be saved in macro free books. to save the file file in this way select no and then select the macro-enabled file type in the file type list" what to do now???
– Adnan Khan
Feb 16 at 15:24
hello sir when save amcro it gives me this message: "The following features cannot be saved in macro free books. to save the file file in this way select no and then select the macro-enabled file type in the file type list" what to do now???
– Adnan Khan
Feb 16 at 15:24
@AdnanKhan See my EDIT#1 ...................especially the part about .XLSM
– Gary's Student
Feb 16 at 15:31
@AdnanKhan See my EDIT#1 ...................especially the part about .XLSM
– Gary's Student
Feb 16 at 15:31
|
show 9 more comments
Insert Picture Into Cell:
- Insert tab (on ribbon), Illustrations section, Pictures -> opens dialogue, Select image.
- Size the image small enough and the cell large enough that the image fits within the cell.
- Lock the image into the cell: Right click image, Size and Properties ... -> opens dialogue, Properties Section (expand if closed by clicking Properties), select Move and size with cells (& Print as desired).
Link Cell To a Sheet in this Workbook:
- Right Click Image in cell, Select Link, Dialogue opens.
- In the "Link to:" section, Select "Place in This Document".
- Modify the cell reference as desired.
- Select "ScreenTip..." and enter the mouse over text if desired. Click OK
- Click OK.
Alternate: Entire cell as clickable link (not just image).
- Follow steps for placing an image in a spreadsheet cell (someplace out of the way).
- Copy this cell (not the image). Select the cell with the arrow keys instead of the mouse may be easier, then press Ctrl-c to copy.
- Right click the cell for the link, Paste Special..., Other Paste Options section (at bottom), clipboard on right with links (there are two like this), Select the one with screentip or label "Linked Picture" (not "Paste Link").
- Complete Step 3 of "Insert Picture Into Cell - Lock the image into the cell"
- Complete all steps of "Link Cell To a Sheet in this Workbook". Note for step 1: Right Click the Cell (since the entire cell is one with the image - source: Yoda).
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ????? –
– Adnan Khan
Feb 16 at 13:00
This solution does not use any picture names. You have posted the same comment to two different solutions. To which solution does your comment apply?
– Ted D.
Feb 16 at 22:21
i just want open the specific cell of the excel sheet when i click on the picture. do you know how do that?
– Adnan Khan
2 days ago
@AdnanKhan In this answer under the section: Link Cell To a Sheet in this Workbook: - Step 3. Modify the cell reference as desired. The answer provides this exact instruction on linking to a specific cell. Also of note, since you seem to be struggling with the macro issues, this answer does not use macros. The result can be achieved using the built in Excel formula or by using the Ribbon Link button or by right clicking...
– Ted D.
2 days ago
ok thanks. working on it and if solved will let you know
– Adnan Khan
5 hours ago
|
show 3 more comments
Insert Picture Into Cell:
- Insert tab (on ribbon), Illustrations section, Pictures -> opens dialogue, Select image.
- Size the image small enough and the cell large enough that the image fits within the cell.
- Lock the image into the cell: Right click image, Size and Properties ... -> opens dialogue, Properties Section (expand if closed by clicking Properties), select Move and size with cells (& Print as desired).
Link Cell To a Sheet in this Workbook:
- Right Click Image in cell, Select Link, Dialogue opens.
- In the "Link to:" section, Select "Place in This Document".
- Modify the cell reference as desired.
- Select "ScreenTip..." and enter the mouse over text if desired. Click OK
- Click OK.
Alternate: Entire cell as clickable link (not just image).
- Follow steps for placing an image in a spreadsheet cell (someplace out of the way).
- Copy this cell (not the image). Select the cell with the arrow keys instead of the mouse may be easier, then press Ctrl-c to copy.
- Right click the cell for the link, Paste Special..., Other Paste Options section (at bottom), clipboard on right with links (there are two like this), Select the one with screentip or label "Linked Picture" (not "Paste Link").
- Complete Step 3 of "Insert Picture Into Cell - Lock the image into the cell"
- Complete all steps of "Link Cell To a Sheet in this Workbook". Note for step 1: Right Click the Cell (since the entire cell is one with the image - source: Yoda).
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ????? –
– Adnan Khan
Feb 16 at 13:00
This solution does not use any picture names. You have posted the same comment to two different solutions. To which solution does your comment apply?
– Ted D.
Feb 16 at 22:21
i just want open the specific cell of the excel sheet when i click on the picture. do you know how do that?
– Adnan Khan
2 days ago
@AdnanKhan In this answer under the section: Link Cell To a Sheet in this Workbook: - Step 3. Modify the cell reference as desired. The answer provides this exact instruction on linking to a specific cell. Also of note, since you seem to be struggling with the macro issues, this answer does not use macros. The result can be achieved using the built in Excel formula or by using the Ribbon Link button or by right clicking...
– Ted D.
2 days ago
ok thanks. working on it and if solved will let you know
– Adnan Khan
5 hours ago
|
show 3 more comments
Insert Picture Into Cell:
- Insert tab (on ribbon), Illustrations section, Pictures -> opens dialogue, Select image.
- Size the image small enough and the cell large enough that the image fits within the cell.
- Lock the image into the cell: Right click image, Size and Properties ... -> opens dialogue, Properties Section (expand if closed by clicking Properties), select Move and size with cells (& Print as desired).
Link Cell To a Sheet in this Workbook:
- Right Click Image in cell, Select Link, Dialogue opens.
- In the "Link to:" section, Select "Place in This Document".
- Modify the cell reference as desired.
- Select "ScreenTip..." and enter the mouse over text if desired. Click OK
- Click OK.
Alternate: Entire cell as clickable link (not just image).
- Follow steps for placing an image in a spreadsheet cell (someplace out of the way).
- Copy this cell (not the image). Select the cell with the arrow keys instead of the mouse may be easier, then press Ctrl-c to copy.
- Right click the cell for the link, Paste Special..., Other Paste Options section (at bottom), clipboard on right with links (there are two like this), Select the one with screentip or label "Linked Picture" (not "Paste Link").
- Complete Step 3 of "Insert Picture Into Cell - Lock the image into the cell"
- Complete all steps of "Link Cell To a Sheet in this Workbook". Note for step 1: Right Click the Cell (since the entire cell is one with the image - source: Yoda).
Insert Picture Into Cell:
- Insert tab (on ribbon), Illustrations section, Pictures -> opens dialogue, Select image.
- Size the image small enough and the cell large enough that the image fits within the cell.
- Lock the image into the cell: Right click image, Size and Properties ... -> opens dialogue, Properties Section (expand if closed by clicking Properties), select Move and size with cells (& Print as desired).
Link Cell To a Sheet in this Workbook:
- Right Click Image in cell, Select Link, Dialogue opens.
- In the "Link to:" section, Select "Place in This Document".
- Modify the cell reference as desired.
- Select "ScreenTip..." and enter the mouse over text if desired. Click OK
- Click OK.
Alternate: Entire cell as clickable link (not just image).
- Follow steps for placing an image in a spreadsheet cell (someplace out of the way).
- Copy this cell (not the image). Select the cell with the arrow keys instead of the mouse may be easier, then press Ctrl-c to copy.
- Right click the cell for the link, Paste Special..., Other Paste Options section (at bottom), clipboard on right with links (there are two like this), Select the one with screentip or label "Linked Picture" (not "Paste Link").
- Complete Step 3 of "Insert Picture Into Cell - Lock the image into the cell"
- Complete all steps of "Link Cell To a Sheet in this Workbook". Note for step 1: Right Click the Cell (since the entire cell is one with the image - source: Yoda).
answered Feb 15 at 21:15
Ted D.Ted D.
2006
2006
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ????? –
– Adnan Khan
Feb 16 at 13:00
This solution does not use any picture names. You have posted the same comment to two different solutions. To which solution does your comment apply?
– Ted D.
Feb 16 at 22:21
i just want open the specific cell of the excel sheet when i click on the picture. do you know how do that?
– Adnan Khan
2 days ago
@AdnanKhan In this answer under the section: Link Cell To a Sheet in this Workbook: - Step 3. Modify the cell reference as desired. The answer provides this exact instruction on linking to a specific cell. Also of note, since you seem to be struggling with the macro issues, this answer does not use macros. The result can be achieved using the built in Excel formula or by using the Ribbon Link button or by right clicking...
– Ted D.
2 days ago
ok thanks. working on it and if solved will let you know
– Adnan Khan
5 hours ago
|
show 3 more comments
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ????? –
– Adnan Khan
Feb 16 at 13:00
This solution does not use any picture names. You have posted the same comment to two different solutions. To which solution does your comment apply?
– Ted D.
Feb 16 at 22:21
i just want open the specific cell of the excel sheet when i click on the picture. do you know how do that?
– Adnan Khan
2 days ago
@AdnanKhan In this answer under the section: Link Cell To a Sheet in this Workbook: - Step 3. Modify the cell reference as desired. The answer provides this exact instruction on linking to a specific cell. Also of note, since you seem to be struggling with the macro issues, this answer does not use macros. The result can be achieved using the built in Excel formula or by using the Ribbon Link button or by right clicking...
– Ted D.
2 days ago
ok thanks. working on it and if solved will let you know
– Adnan Khan
5 hours ago
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ????? –
– Adnan Khan
Feb 16 at 13:00
Yes sir, thanks a lot. i have done it. complete all the steps but there is a problem. names C1.jpg is the picture name and when completing all these steps when click on the image C.jpg excel sheet dont opens ????? –
– Adnan Khan
Feb 16 at 13:00
This solution does not use any picture names. You have posted the same comment to two different solutions. To which solution does your comment apply?
– Ted D.
Feb 16 at 22:21
This solution does not use any picture names. You have posted the same comment to two different solutions. To which solution does your comment apply?
– Ted D.
Feb 16 at 22:21
i just want open the specific cell of the excel sheet when i click on the picture. do you know how do that?
– Adnan Khan
2 days ago
i just want open the specific cell of the excel sheet when i click on the picture. do you know how do that?
– Adnan Khan
2 days ago
@AdnanKhan In this answer under the section: Link Cell To a Sheet in this Workbook: - Step 3. Modify the cell reference as desired. The answer provides this exact instruction on linking to a specific cell. Also of note, since you seem to be struggling with the macro issues, this answer does not use macros. The result can be achieved using the built in Excel formula or by using the Ribbon Link button or by right clicking...
– Ted D.
2 days ago
@AdnanKhan In this answer under the section: Link Cell To a Sheet in this Workbook: - Step 3. Modify the cell reference as desired. The answer provides this exact instruction on linking to a specific cell. Also of note, since you seem to be struggling with the macro issues, this answer does not use macros. The result can be achieved using the built in Excel formula or by using the Ribbon Link button or by right clicking...
– Ted D.
2 days ago
ok thanks. working on it and if solved will let you know
– Adnan Khan
5 hours ago
ok thanks. working on it and if solved will let you know
– Adnan Khan
5 hours ago
|
show 3 more comments
User Scenario: Clicking Windows Desktop Pic to Open Excel
Specifically, an Excel Workbook's Worksheet and Cell associated with the product in the icon image.
Assumes the user will be clicking an icon of a product image, either on the desktop or in some other folder.
Previous answers assumed the images were in the cells of a worksheet inside an Excel workbook.
Here is the solution:
With createobject("Excel.Application")
.Goto .Workbooks.Open(WScript.Arguments.Named.Item("book")). _
Worksheets(WScript.Arguments.Named.Item("sheet")). _
Range(WScript.Arguments.Named.Item("range"))
.visible = True
End With
- Save the code to a file named ExcelShortcuts.vba and be sure the file has the ".vba" extension.
- Create a shortcut to this file. (quick tip, drag the file icon and hold the Alt before and while releasing the left mouse button.)
- Rename the shortcut Product_1_Name, whatever that may be (no filename extension needed).
- Right click the Product_1_Name file shortcut icon and select
Properties. - In the Properties dialogue, select the
Shortcuttab and make these two changes:
- In the
Targettext box, at the end after...ExcelShortcuts.vba(and after any closing quote):
- Add a space and
/book:"C:UsersnameDesktopProductWorkbook.xlsx" /sheet:Sheet1 /range:A1
/book:FilePathFileNameReplace the file path and name as appropriate for the product
/sheet:Sheet1ChangeSheet1to the sheet name for the product. If the Sheet Name has spaces, use quotes starting right after the:./sheet:"Quote Special Chars ! too"
/range:A1Change theA1to the cell address to focus on.
- Add a space and
- Click
Change Icon...
- Navigate to the folder (
Browse) with the product pictures and select the image for this product. - Click
OK
- Navigate to the folder (
- In the
- Click
OK
Now there is a shortcut with the product image on it. The shortcut is to the special VBSCript which will open Excel. The script will use the arguments supplied to the shortcut to know which Workbook to open and which Worksheet to turn to and which cell to focus on.
Make more shortcuts to the ExcelShortcuts.vba script. Rename each one to a product name. Modify the shortcuts Target (add /book: /sheet: /range:) and change the icon image to one which represents the product.
add a comment |
User Scenario: Clicking Windows Desktop Pic to Open Excel
Specifically, an Excel Workbook's Worksheet and Cell associated with the product in the icon image.
Assumes the user will be clicking an icon of a product image, either on the desktop or in some other folder.
Previous answers assumed the images were in the cells of a worksheet inside an Excel workbook.
Here is the solution:
With createobject("Excel.Application")
.Goto .Workbooks.Open(WScript.Arguments.Named.Item("book")). _
Worksheets(WScript.Arguments.Named.Item("sheet")). _
Range(WScript.Arguments.Named.Item("range"))
.visible = True
End With
- Save the code to a file named ExcelShortcuts.vba and be sure the file has the ".vba" extension.
- Create a shortcut to this file. (quick tip, drag the file icon and hold the Alt before and while releasing the left mouse button.)
- Rename the shortcut Product_1_Name, whatever that may be (no filename extension needed).
- Right click the Product_1_Name file shortcut icon and select
Properties. - In the Properties dialogue, select the
Shortcuttab and make these two changes:
- In the
Targettext box, at the end after...ExcelShortcuts.vba(and after any closing quote):
- Add a space and
/book:"C:UsersnameDesktopProductWorkbook.xlsx" /sheet:Sheet1 /range:A1
/book:FilePathFileNameReplace the file path and name as appropriate for the product
/sheet:Sheet1ChangeSheet1to the sheet name for the product. If the Sheet Name has spaces, use quotes starting right after the:./sheet:"Quote Special Chars ! too"
/range:A1Change theA1to the cell address to focus on.
- Add a space and
- Click
Change Icon...
- Navigate to the folder (
Browse) with the product pictures and select the image for this product. - Click
OK
- Navigate to the folder (
- In the
- Click
OK
Now there is a shortcut with the product image on it. The shortcut is to the special VBSCript which will open Excel. The script will use the arguments supplied to the shortcut to know which Workbook to open and which Worksheet to turn to and which cell to focus on.
Make more shortcuts to the ExcelShortcuts.vba script. Rename each one to a product name. Modify the shortcuts Target (add /book: /sheet: /range:) and change the icon image to one which represents the product.
add a comment |
User Scenario: Clicking Windows Desktop Pic to Open Excel
Specifically, an Excel Workbook's Worksheet and Cell associated with the product in the icon image.
Assumes the user will be clicking an icon of a product image, either on the desktop or in some other folder.
Previous answers assumed the images were in the cells of a worksheet inside an Excel workbook.
Here is the solution:
With createobject("Excel.Application")
.Goto .Workbooks.Open(WScript.Arguments.Named.Item("book")). _
Worksheets(WScript.Arguments.Named.Item("sheet")). _
Range(WScript.Arguments.Named.Item("range"))
.visible = True
End With
- Save the code to a file named ExcelShortcuts.vba and be sure the file has the ".vba" extension.
- Create a shortcut to this file. (quick tip, drag the file icon and hold the Alt before and while releasing the left mouse button.)
- Rename the shortcut Product_1_Name, whatever that may be (no filename extension needed).
- Right click the Product_1_Name file shortcut icon and select
Properties. - In the Properties dialogue, select the
Shortcuttab and make these two changes:
- In the
Targettext box, at the end after...ExcelShortcuts.vba(and after any closing quote):
- Add a space and
/book:"C:UsersnameDesktopProductWorkbook.xlsx" /sheet:Sheet1 /range:A1
/book:FilePathFileNameReplace the file path and name as appropriate for the product
/sheet:Sheet1ChangeSheet1to the sheet name for the product. If the Sheet Name has spaces, use quotes starting right after the:./sheet:"Quote Special Chars ! too"
/range:A1Change theA1to the cell address to focus on.
- Add a space and
- Click
Change Icon...
- Navigate to the folder (
Browse) with the product pictures and select the image for this product. - Click
OK
- Navigate to the folder (
- In the
- Click
OK
Now there is a shortcut with the product image on it. The shortcut is to the special VBSCript which will open Excel. The script will use the arguments supplied to the shortcut to know which Workbook to open and which Worksheet to turn to and which cell to focus on.
Make more shortcuts to the ExcelShortcuts.vba script. Rename each one to a product name. Modify the shortcuts Target (add /book: /sheet: /range:) and change the icon image to one which represents the product.
User Scenario: Clicking Windows Desktop Pic to Open Excel
Specifically, an Excel Workbook's Worksheet and Cell associated with the product in the icon image.
Assumes the user will be clicking an icon of a product image, either on the desktop or in some other folder.
Previous answers assumed the images were in the cells of a worksheet inside an Excel workbook.
Here is the solution:
With createobject("Excel.Application")
.Goto .Workbooks.Open(WScript.Arguments.Named.Item("book")). _
Worksheets(WScript.Arguments.Named.Item("sheet")). _
Range(WScript.Arguments.Named.Item("range"))
.visible = True
End With
- Save the code to a file named ExcelShortcuts.vba and be sure the file has the ".vba" extension.
- Create a shortcut to this file. (quick tip, drag the file icon and hold the Alt before and while releasing the left mouse button.)
- Rename the shortcut Product_1_Name, whatever that may be (no filename extension needed).
- Right click the Product_1_Name file shortcut icon and select
Properties. - In the Properties dialogue, select the
Shortcuttab and make these two changes:
- In the
Targettext box, at the end after...ExcelShortcuts.vba(and after any closing quote):
- Add a space and
/book:"C:UsersnameDesktopProductWorkbook.xlsx" /sheet:Sheet1 /range:A1
/book:FilePathFileNameReplace the file path and name as appropriate for the product
/sheet:Sheet1ChangeSheet1to the sheet name for the product. If the Sheet Name has spaces, use quotes starting right after the:./sheet:"Quote Special Chars ! too"
/range:A1Change theA1to the cell address to focus on.
- Add a space and
- Click
Change Icon...
- Navigate to the folder (
Browse) with the product pictures and select the image for this product. - Click
OK
- Navigate to the folder (
- In the
- Click
OK
Now there is a shortcut with the product image on it. The shortcut is to the special VBSCript which will open Excel. The script will use the arguments supplied to the shortcut to know which Workbook to open and which Worksheet to turn to and which cell to focus on.
Make more shortcuts to the ExcelShortcuts.vba script. Rename each one to a product name. Modify the shortcuts Target (add /book: /sheet: /range:) and change the icon image to one which represents the product.
answered 4 mins ago
Ted D.Ted D.
2006
2006
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1406215%2fuse-pictures-as-links-to-different-worksheets%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What have you tried? What research have you done and what have you learned? Where are these pictures located, what sort of file/document/source? Right now your question lacks much of the information necessary to give you an answer. Use the EDIT button to add any and all necessary and relevant contextual information to the question itself.
– music2myear
Feb 15 at 19:02
And could you pleaseedit your question to give us more info. We don't have access to your computer or your mind...
– cybernetic.nomad
Feb 15 at 19:04
In the user scenario, are the clickable pictures in an Excel Workbook or is the user clicking on the picture's file icon located on the desktop (or some other folder)?
– Ted D.
3 hours ago