I copy a worksheet to about ten other workbooks and on my worksheet there are named ranges but those are not copying over. How do i have that copy over as well?
Please Login or Register to view this content.
I copy a worksheet to about ten other workbooks and on my worksheet there are named ranges but those are not copying over. How do i have that copy over as well?
Please Login or Register to view this content.
How are the named ranges defined, in particular what scope do they have?
If posting code please use code tags, see here.
Not sure what you are asking. I can go into Name Manager and there is a Name and then it refers to those 10 cells. I've added a workbook. I stripped everything else out except for the one named range.
Any idea Norie?
You aren't copying a worksheet, just copying the ranges, so you would have to recreate the names in the target workbooks.
Don
Please remember to mark your thread 'Solved' when appropriate.
So I would have to copy the actual worksheet, no amount of copying the contents will do it?
Yes, or recreate the names in your code.
this seems to copy a named range but does not recreate the named range in the new workbook
Please Login or Register to view this content.
OK. Is there a way to create a named range then? Say I want to make ''A1:A20" named "School Teachers"
You can’t have spaces in names, but the syntax is simply
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks