Murray Brown
asked on
VB.net Excel AddIn System.NullReferenceException
Hi. I am using the following code when trying to log into Xero in my Excel Add-in and getting the error below.
This might be because there are two companies
This might be because there are two companies
_xero.Companies.ForEach(Sub(x)
Dim item = Globals.Factory.GetRibbonFactory().CreateRibbonDropDownItem()
item.Label = x.TenantName
item.Tag = x.TenantId.ToString
cbCompanies.Items.Add(item)
End Sub)
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.