Quote Originally Posted by pdeshazier
I open my workbook and run this code, but it only executes on the worksheet my cursor is on. How do I get it to execute for all sheets?
Pam,

It should execute on every sheet. What it doesn't do is to activate those sheets, so you won't see it happening. But if you go to the other sheets, you should see that they have been linked okay.