Invoke code problem with accessing temporary VB file

Hello, I cannot access files (my own user) in a local folder… does any of you know how to change the path where temporary files?

I already changed environmental path TMP and TEMP to D:\Temp but it didn’t help



  1. upload your minimal vb file here.

  2. firstly try to copy .vb file to another directory and then try to invoke code.

Hi Mikołaj,

You can use Path.GetTempPath() to get the full path to the temp folder.

This is how it looks in one of our activities:

We later use strVbaPath in “Invoke VBA” activity.

Is this what you have been looking for?