VBARUN returns "T"

VBARUN returns "T"

doglips
Advocate Advocate
866 Views
4 Replies
Message 1 of 5

VBARUN returns "T"

doglips
Advocate
Advocate

For a long time I used (vl-vbarun "path and vba name ! macroname) with out an issue but now it just returns "T" and does nothing. Anyone have a clue of what's going on here?

Thanks

0 Likes
867 Views
4 Replies
Replies (4)
Message 2 of 5

cadffm
Consultant
Consultant

Is the location added to the trustedpaths?

Thats the first general thing 

 

(I don't have the vba extension for tests, sorry)

 

Sebastian

0 Likes
Message 3 of 5

doglips
Advocate
Advocate

Yes it is

0 Likes
Message 4 of 5

dlanorh
Advisor
Advisor

Perhaps explaining what it does and what you are expecting it to return would help. T / nil are valid returns.

I am not one of the robots you're looking for

0 Likes
Message 5 of 5

Sea-Haven
Mentor
Mentor

Maybe

 

(defun C:vbadrn ()
(vl-vbaload "P:/AutoDESK/VBA/vbadrains.dvb") 
(vl-vbarun "pitscheduleupdate")
)
0 Likes