WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-15-2014, 09:14 AM
rmcconnell11 rmcconnell11 is offline
Member
 
Join Date: Mar 2013
Posts: 28
Vizard and VBA

Okay, random question but I was wondering does anyone know how to run a vizard script from a vba module in excel.

I can open vizard and the particular script in question, just cannot get it to automatically run...

VR = Shell("C:\Program Files\WorldViz\Vizard4\bin\Vizard.exe C:\Users\Roisin\Desktop\Disc\DiscWorld.py")

The line above opens vizard, opens the script I wana run...


Apologies if this is completely the wrong area, but thought I'd give it a try !
Reply With Quote
  #2  
Old 01-15-2014, 12:46 PM
Frank Verberne Frank Verberne is offline
Member
 
Join Date: Mar 2008
Location: Netherlands
Posts: 148
Hi rmcconnell11,

What is it that you want to accomplish? If you want your program to run automatically, consider publishing it as an executable. If you want to automatically start a specific script with vizard, you could create a batch file (on a Windows computer at least). I'm not familiar with the vba module in excel, and this is not the best place to ask this question. Consider a forum specifically for excel.
Reply With Quote
  #3  
Old 01-15-2014, 02:18 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The executable that runs Vizard scripts is winviz.exe. Try replacing "vizard.exe" with "winviz.exe" in your command.
Reply With Quote
  #4  
Old 01-24-2014, 03:27 AM
rmcconnell11 rmcconnell11 is offline
Member
 
Join Date: Mar 2013
Posts: 28
Sorry just getting back to this work now, but thanks jeff that work perfectly!!! I was calling vizard rather than winviz! thank you so much
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:16 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC