Hi
I have a column of numeric values. (e.g. 100, 120,132 etc.)
I want each cell in the column to link to a corresponding file on the file system.
The filenames begin with the numeric value in the cell (e.g. '100 info', '120 data', '132 report' etc.)
All the files are in the same folder location, and I've set me htmlbase location to it.
I would like to create a macro that creates a hyperlink for each cell in the column such that the cell with value '100' links to the filename that begins with the same value i.e. '100 info' from the above examples.
I don't know what code i need for this (I am not very familiar with VB or programming excel modules) although I have written the psuedocode for it below:
' Get list of filenames at htmlbase location.
' For each filename
' if cell value is same as beginning of filename
' then set hyperlink for cell to that filename
' exit
' else do nothing
Could someone help me out with this?
thanks
Bookmarks