Copying Sheet with Data Validation List

bmoneymillionaire

New Member
Joined
Jan 21, 2015
Messages
3
Hi All,

I looked around quite a bit, but could not find an answer to my question. If this is addressed somewhere else, I apologize.

Basically, I have a macro that copies sheets to another workbook, among other things. The problem is that when the cells with drop-down menus are copied, the data validation source switches from an internal reference (e.g., =Sheet2!$A$1:$A$8) and becomes an external reference (e.g., =[Workbook.xlsx]Sheet2!#REF!).

Is there a way to keep the list source reference internal? (For certain reasons, I am not interested in work-arounds with named selections, indirect(), etc.)

Any help would be greatly appreciated. Thank you!
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
looks like your best bet would be to use power query which there are some videos on that on youtube under excelsfun.
 
Upvote 0
Thanks rayk - Is there a certain video on this channel I should take a look at? I'm not familiar with power query and there are a lot of videos on that channel. Maybe there is a simpler solution that does not require power query?
 
Upvote 0
you can simply search for power query within that channel. I don't know of an easier way without using power query.
 
Upvote 0

Forum statistics

Threads
1,223,714
Messages
6,174,052
Members
452,542
Latest member
Bricklin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top