hi
my vb skills are very limited and I need help with a task to rename 1500 jpg files in a folder ( left hand side of attached screen grab )
I've got the data on the right hand side in an access table
i need code to loop thru the folder and rename such that in simple terms the new filename = left(filename, instr(" ")-1 & dlookup the 3 fields separated by underscores & .jpg
i'm happy to do the string manipulations
just need help with the declaring of variables, objects and loop
any help appreciated
my vb skills are very limited and I need help with a task to rename 1500 jpg files in a folder ( left hand side of attached screen grab )
I've got the data on the right hand side in an access table
i need code to loop thru the folder and rename such that in simple terms the new filename = left(filename, instr(" ")-1 & dlookup the 3 fields separated by underscores & .jpg
i'm happy to do the string manipulations
just need help with the declaring of variables, objects and loop
any help appreciated