[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EnergyPlus_Support] Re: Auto EnergyPlus Auto





First look at the ShellAndWait function, found here.  This is what I used originally.  I would first try it out using a program other than EnergyPlus, such as the command prompt ("cmd.exe").  The shell and wait routine should open the command prompt (thus revealing the current directory) and wait for the prompt to close before returning to the VBA code.  This function was a big help when I was first doing this stuff, but that was a few years back.  One thing I seem to remember having trouble with was the working directory.  If you are running EnergyPlus in a directory different than the Excel file, you will want to make sure the working directory is the EnergyPlus directory.

Good luck

On Mon, Sep 6, 2010 at 11:09, Mário <mneves32@xxxxxxxxx> wrote:
 


Thank´s for the information

I´am locking for Visual Basic for Applications (excel)

Thank´s

MN



--- In EnergyPlus_Support@xxxxxxxxxxxxxxx, Edwin Lee <leeed2001@...> wrote:
>
> Are you looking for:
>
> Visual Basic for Applications (excel)
> Visual Basic (VB6 for example)
> Visual Basic .Net
>
> I've done work in all of these, but mostly VB.Net.
>
> On Mon, Sep 6, 2010 at 03:56, Mário <mneves32@...> wrote:
>
> >
> >
> > Hello
> > Does anyone know how to run automatically single simulations using Visual
> > Basic Code?
> > Thank You
> > MN
> >
> >
> >
>




__._,_.___


Primary EnergyPlus support is found at:
http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx

The primary EnergyPlus web site is found at:
http://www.energyplus.gov

The group web site is:
http://groups.yahoo.com/group/EnergyPlus_Support/

Attachments are currently allowed but be mindful that not everyone has a high speed connection.  Limit attachments to small files.

EnergyPlus Documentation is searchable.  Open EPlusMainMenu.pdf under the Documentation link and press the "search" button.




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___