nardagus
Active Member
- Joined
- Apr 23, 2012
- Messages
- 317
- Office Version
- 2016
- 2013
- Platform
- Windows
Hi Everyone,
I have a strange thing...
There is quite simple form with two fields:
- TextBox - this field does one thing: it shows value of selected cell
- ComboBox - this one on the other hand... When a form is initialized, excel connects to MSSQL and retrieves some data consisting of two fields: username, and username_id. Then the result is shown in CB. I use column.width to hide username_id.
For safety reasons VBA project is locked for viewing.
And for some reason locking VBA project causes problems with this CB.
When I reopen a file CB retrieves needed data (as you can see on a screenshot above). However when I click on a chosen item it doesn't show up in the field.
However. When I enter a password to unlock VBA project, CB works as intended.
Below you can see its properties:
I have no idea why this is happening...
Maybe you can help me...
Cheers
I have a strange thing...
There is quite simple form with two fields:
- TextBox - this field does one thing: it shows value of selected cell
- ComboBox - this one on the other hand... When a form is initialized, excel connects to MSSQL and retrieves some data consisting of two fields: username, and username_id. Then the result is shown in CB. I use column.width to hide username_id.
For safety reasons VBA project is locked for viewing.
And for some reason locking VBA project causes problems with this CB.
When I reopen a file CB retrieves needed data (as you can see on a screenshot above). However when I click on a chosen item it doesn't show up in the field.
However. When I enter a password to unlock VBA project, CB works as intended.
Below you can see its properties:
I have no idea why this is happening...
Maybe you can help me...
Cheers