|
wattle -> RE: excel macro help (5/8/2003 20:40:00)
|
This does sound like quite a chore. The below may be useful, or be a start anyway. I hope I have not misinterpreted your question. Have assumed that the part no' s are in columns. Split the part number into three columns (Data > Text to Columns > Fixed Width > Create two line breaks before and after the " -" ). Send the split data, ie: the three new columns, to the far right of your spreadsheet. You can always move it later. Create a column near the split part numbers. It the top cell type " images/photos/a" or whatever the path is. Create another Column to contain " jpg" You will now have five new columns (the column containing the " -" from the part numbers could probably be deleted). To the right of this create another column to combine your new columns (will look something like the below). Assuming cell A1 is the part no letters, B1 is the numbers, C1 is the image location, D1 is the picture format, the formula for cell E1 would be =C1&" /" &A1&" /" &B1&" ." &D1 You can copy the formula down. When you want to alter it back to text go to Copy > Paste Special > Values All the best with this. Wattle [image]http://www.frontpagewebmaster.com/upfiles/7453/Kh17394.gif[/image]
|
|
|
|