I'm trying to write a macro which sets each cell to a vlookup formula. The lookup is on a range in a different workbook which is dynamically chosen by the user at run-time. Is there a way to set a range object and define a name for it, so that it can be used in the formula. My other option seems to be to cumbersomely make a string representing the range, but this seems difficult due to special cases involving special characters in the file path (like ' and <space>). Is there a way to do this?
thanks,
-Venkman
thanks,
-Venkman