简体   繁体   中英

Stop running vba program when the excel file running in citrix environment

I have excel file which should not run in citrix environment. Is there a way to check the file is running in citrix environment or local?

Thanks in advance for you help.

The easiest way may be using the Application.OperatingSystem in vba to determin the operating system the Excel file is run. A bit tricky, but may do the job for you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM