Excel in Charge: Debug Error "68" in line "ChDrive sDrive"

VBA Code:
start in the workbook/model directory
If sDrive sDirChar Then
ChDrive sDrive
End If


I’m trying to use the VBA code of McCarl but there is a debug error in the line “ChDrive sDrive”

I’m a total newbie with VBA. I’m trying to run GAMS through EXCEL.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

I should maybe add that I run Gams through a virtual machine because I use a mac

Am Samstag, 11. April 2015 12:47:51 UTC+2 schrieb Alex Hans:

VBA Code:
start in the workbook/model directory
If sDrive sDirChar Then
ChDrive sDrive
End If


I’m trying to use the VBA code of McCarl but there is a debug error in the line “ChDrive sDrive”

I’m a total newbie with VBA. I’m trying to run GAMS through EXCEL.


To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.