Sorry, the actual whole filename is stored in the variable vitem, so path+filename with extension.
e.g "C:\users\a\Desktop\max.xlsm"
the macro works if I give it a string like the above or use filpicker to get a file but not if I try to pass the value from the python script altough they all are identical.
|