I need to give a name to a range of data I'm pulling from another spreadsheet, as a precursor to doing a VLookup. I looked online and found what I thought would do the naming for me, but it's only naming the range A1. Can anyone point out what I'm doing wrong?
I've copied the last few routines of my code so you can see what's happening. The steps are these: Filter data on the Sheet1 (in another workbook, the APRWkb workbook), copy that data to the APRdata worksheet in my active workbook, rearrange the columns, insert a formula after the pasted data, create two new row headings, format everything nice and neat, and finally try to name my range. As I've said, it appears to only be naming A1 instead of the entire selection. Can I get some help on this one?
Thanks.
Please Login or Register to view this content.
Bookmarks