I have several macros which run on most of my colleague's computers, but not on one.
When I attempted to run the macro on this colleague's Citrix account, the code failed on the "Workbooks.("Document Name").Activate" line.
I noticed that the document name at the top of the ribbon read, "(document name).xlsm". The "Xlsm" does not appear when the document is opened on my Citrix account.
I think that the "xlsm" is confusing the macro, and that the reason this is appearing is something to do with the version of Excel which is being used on that person's Citrix account.
Does anyone know the solution to this?