Combobox rowsource

Boddo

New Member
Joined
Nov 19, 2013
Messages
4
Hi all,
I have an problem with an addin that i'am developing..
I'm using this code to point the rowsoruce of an combobox to more range names located in a sheet called "WPSett"
Code:
[COLOR=#333333][FONT=Arial]Private Sub SelectFSA_Change()[/FONT][/COLOR]
[COLOR=#333333][FONT=Arial]Dim src As String[/FONT][/COLOR]
[COLOR=#333333][FONT=Arial]src = Left(SelectFSA.Value, 2)[/FONT][/COLOR]
[COLOR=#333333][FONT=Arial]If SelectFSA.ListIndex >= 0 Then[/FONT][/COLOR]
[COLOR=#333333][FONT=Arial]With SelectTEST[/FONT][/COLOR]
[COLOR=#333333][FONT=Arial]   .Locked = False[/FONT][/COLOR]
[COLOR=#333333][FONT=Arial]   .BackStyle = fmBackStyleOpaque[/FONT][/COLOR]
[COLOR=#333333][FONT=Arial]   .RowSource = ThisWorkbook.Sheets("WPSett").Range("_" & src).Address[/FONT][/COLOR]
[COLOR=#333333][FONT=Arial]End With[/FONT][/COLOR]
[COLOR=#333333][FONT=Arial]End If[/FONT][/COLOR]
[COLOR=#333333][FONT=Arial]End Sub[/FONT][/COLOR]

Everything is working well except when i set IsAddin Property to TRUE... ??
Thank you in advance.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,214,894
Messages
6,122,124
Members
449,066
Latest member
Andyg666

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