O
Oisin O'Reilly
Hi,
I've posted this on a Citrix site with no response - this question is
to do with the interaction between Excel and Citrix.
I am not a Citrix guru, however a customer of ours is using Citrix,
and is using our application (an Excel .XLA addin). They use Excel
from the client by connecting through Citrix to the Server. The
problem occurs when they try to install our Add-In. The VBA which
installs our toolbar and menu does not work, for example the below
"Add" call fails. Are there restrictions in what VBA can do when
connecting to a Citrix server? Is there a way to make a VBA add-in
Citrix Enabled? Is it getting confused and trying to access
commandbars on the wrong system? etc..etc.. - Any help would be
greatfully appreciated!
Thanks Oisin
' Find view menu
Dim ViewMenu As CommandBarControl
Set ViewMenu = Application.CommandBars(1).FindControl(ID:=30004)
' Menu bar doesn't exist currently, now add it.
Set newMenuBar = Application.CommandBars(1).Controls. _
Add(Type:=msoControlPopup, before:=ViewMenu.Index)
I've posted this on a Citrix site with no response - this question is
to do with the interaction between Excel and Citrix.
I am not a Citrix guru, however a customer of ours is using Citrix,
and is using our application (an Excel .XLA addin). They use Excel
from the client by connecting through Citrix to the Server. The
problem occurs when they try to install our Add-In. The VBA which
installs our toolbar and menu does not work, for example the below
"Add" call fails. Are there restrictions in what VBA can do when
connecting to a Citrix server? Is there a way to make a VBA add-in
Citrix Enabled? Is it getting confused and trying to access
commandbars on the wrong system? etc..etc.. - Any help would be
greatfully appreciated!
Thanks Oisin
' Find view menu
Dim ViewMenu As CommandBarControl
Set ViewMenu = Application.CommandBars(1).FindControl(ID:=30004)
' Menu bar doesn't exist currently, now add it.
Set newMenuBar = Application.CommandBars(1).Controls. _
Add(Type:=msoControlPopup, before:=ViewMenu.Index)