The idea is to take data from multiple tables and place them into the sheet called "AllData". It keeps telling me Range of Object failed at the "range(vMoveAllData).Copy" part.Please Login or Register to view this content.
The idea is to take data from multiple tables and place them into the sheet called "AllData". It keeps telling me Range of Object failed at the "range(vMoveAllData).Copy" part.Please Login or Register to view this content.
what "range" is vMoveAllData? A range is usually something like a cell or sheet reference.....I think.
1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.
Tom
vMoveAllData is a list (array) of tables, which I thought constituted a range or multiple ranges
Last edited by AstToTheRegionalMGR; 04-17-2015 at 02:17 PM.
How did you create the tables or named ranges?
Ben Van Johnson
I selected the columns and rows and clicked format as table, then renamed the tables to the names I have listed in the array
Maybe ...
Please Login or Register to view this content.
Entia non sunt multiplicanda sine necessitate
Hi,
See if the attached example with code does what you want. I couldn't tell if you had Named Range Tables or Tables of data. See if either/both work with the attached example code.
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
I've used this in the past. It suddenly is just not allowing me to use the range("").copy for some reason. It seems if I am using range, it is not going to work. Also, I am using table ranges, not named ranges
UPDATE: I am a total moron. I had done some work on this recently and changed the name of "ArmenisTable" as part of a test and never changed it back. Thus, VBA did not know what I was referencing. What a waste of an hour... Marking as solved and adding to all your reputations
Thank you for the rep, glad you were able to get it figured out.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks