> I am having an issue trying to convert this VBA code to VSTO
> compatibility. It is complaining about the =Array part. I am creating
[quoted text clipped - 6 lines]
>
> Thanks,
Hi,
Use the following code:
Dim tpsheets() As Object
ReDim tpsheets(2)
tpsheets(0) = "UAR"
tpsheets(1) = "PD"
tpsheets(2) = "TEST"
App.AddCustomList(ListArray:=tpsheets)
this should solve your problem possibly.
Waxaholic - 10 Mar 2007 04:06 GMT
On Mar 5, 6:34 am, "keremskusme...@gmail.com"
<keremskusme...@gmail.com> wrote:
> > I am having an issue trying to convert this VBA code to VSTO
> > compatibility. It is complaining about the =Array part. I am creating
[quoted text clipped - 19 lines]
>
> this should solve your problem possibly.
This worked perfectly. Thank you.