Named Range Question

Pacman52

Active Member
Joined
Jan 29, 2009
Messages
439
Office Version
  1. 365
Platform
  1. Windows
Hi all, I have a Named Range called 'FestivalData' which is referencing a worksheet (WS) named 'Festivals' (sh02Festivals)

Excel Formula:
 =OFFSET(Festivals!$BO$2,1,,COUNTA(Festivals!$BP$2:$BP$9985)-1,63)

I've set this as the rowsource for a listbox.

When the userform is opened I need to have the a different WS eg 'sheet1' active but the resource keeps erroring unless I have the WS 'Festivals' active.

I was wondering is there a way to accomplish this by adapting the named range perhaps or does anyone know if this is actually possible or if the error is being caused by something else?

Thanks Paul
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Hi thanks so much for your reply. I was just literally looking at some of the subs as your message came through and found I'd placed a line activating the worksheet in the wrong place so moved it further down the sub and got it to work without any changes to the Named Range so all sorted - for now !
 
Upvote 0
Solution

Forum statistics

Threads
1,226,074
Messages
6,188,727
Members
453,494
Latest member
Alt F11

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