Dynamic Range error When Multiple Workbooks Open

troygeri

New Member
Joined
Jun 5, 2011
Messages
18
In the attached spreadheet, I have a dynamic range defined which populates a dropdown

https://dl.dropboxusercontent.com/u/63479593/Enterprise Release Project Dashboard.xlsm

Dynamic Range Is

=OFFSET(Projects!$C$1,1,0,COUNTIF(Projects!$C:$C,">""")-1,2)

This populates a drop down in the Dashboard TAB under label Project ID & Name. In the code linked to this dropdown I have the following

Code:
Sub ComboBox1_Change()
ComboBox1.ListFillRange = "DynamicList"
With ThisWorkbook.Worksheets("Projects")
ProjDesc.Value = Application.VLookup(ComboBox1.Value, .Range("C2:T1000"), 3, 0)
TextBox1.Value = Application.VLookup(ComboBox1.Value, .Range("C2:T1000"), 5, 0)
TextBox2.Value = Application.VLookup(ComboBox1.Value, .Range("C2:T1000"), 6, 0)
TextBox3.Value = Application.VLookup(ComboBox1.Value, .Range("C2:T1000"), 7, 0)
End With
End Sub

This all works fine when I have only this one workbook opened, but as soon as I have a second spreadsheet open I start getting runtime errors related to the dynamiclist range, e.g below

Runtime_error.png
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,214,822
Messages
6,121,770
Members
449,049
Latest member
greyangel23

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