To clarify, it is a combobox on a userform and not on a password protected worksheet.
The posted code causes the error. It's really odd as it should work!
Rebecca
Code is in an Excel UserForm and is to execute when the userform is initialized.
The only other actions occuring on initialization is setting focus on the userform to a textbox and setting a couple of buttons to their defaults.
I'm not exactly sure how or why... but the permission error is...
Hello all,
I need to populate a ComboBox in a UserForm by using VBA rather than referencing an range in excel. Referencing a range in Excel will not work for this project.
All the references I've found so far indicate that the following code should work; but I wind up with a Permission...
Aha! I do have the "show items with no data" but it is greyed out (not active). I believe it is because the data is drawn from a database using a cube... right? The cube filters out the row because it's empty when it's drawn from the database.
thanks for all your help!
Hmmm... I don't have that option. I can hide dimensions, which isn't quite the same thing. That option isn't available on the Field or Table options either.
Hi Skip,
I'm not sure if that is functionally possible. We use a cube to build pivot tables drawing data from our database which has over 52 million rows.
ekongirl.
In creating a pivot table, is there a way to "show all" even if there isn't any data?
example:
Name value
category1 $40
category2 $60
category3 0
Usually, category3 would be filtered out by the pivot table because it is empty. I need the category to be displayed regardless...
when mapping a cube, I can select the Microsoft OLE DB provider for OLAP Services 8.0, but am not able to connect. I can only connect using the older OLAP service provider... which results in an error when building a pivot table in Excel. I've seen this problem expressed by other users, but...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.