I am trying to covert spread sheet with hundreds of image path to html pages. For example:
excel sheet
imageId imagePath
1 images/ima1
2 images/ima2
3 images/ima3
... .........
... ........
Are there faster ways to covert these images to html files instead of typing them 1 by 1?
The html files I need is like the following:
<img src=images/ima1 title='ima1' />
<img src=images/ima2 title='ima2' />
<img src=images/ima3 title='ima3' />
Thanks for the help.
There are several ways you can do what you want.
1 . On another sheet, create a formula that will take the information from the first sheet and produce the HTML you want.
Assuming your data is on Sheet1, every row on your second sheet (with that formula in) will contain the html of the same row on Sheet1. (You’d need to adjust the sheet name and columns if there not the same)
Doing this you can then copy and paste everything from the 2nd sheet.
2 . Using a macro to generate the file.
This example will create a html file in the same directory as the spreadsheet containing all the links. You’d need to adjust it to suit your needs as its probably not quite right.