link_location flexibility?
I'm helping my dad scan his business cards using WorldCard Pro. I'm able to export the read data (name, phone #, etc) from the program into an excel spreadsheet (using Office 2007). I am also able to export the individual jpg's based on their names. However, he wants to be able to look at the image of the card itself through excel. I followed u/excelevator 's method to make this happen. However I noticed that the link_location that populates is based on what I input.
My question: is there a way to accomplish the image linking but make it so that the link_location function populates based on the file address of said image and not the address on my personal computer? e.g. if he opens up the spreadsheet on another computer the function still works because it won't have c:\heado's pc\image folder in the function
Posted Apr 28, 2015, 5:04 AM UTC · edited
You can do it with the help of =CELL() formula. Provided that the name of your workbook and worksheet is predetermined; to A1 write:
In the case above workbook name is Book1.xlsx, sheet name is Sheet1, this will give you the folder your file is in. Provided that you put the images in the same folder, or a subfolder, you can easily get to them.