Page 1 of 1

Writing from Excel to a Global Variable.... Seeking help

Posted: 12 Jul 2011
by arjfca
Hello

An unresolved problem for me. Is it possible from Excel to wrote and read to global variables.
If so any help truly appreciated.

A simple Global variable test to set and retrieved a value within MC. Now, I need to do the same using VBA in Excel. I understand that it may not be the good forum for that.

Code: Select all

[IntraBarOrderGeneration = true]

Var:
intrabarpersist String1 (""),
intrabarpersist Value2 (0);

String1 = "Test Martin2" ;
Value2 = GVSetString(1, String1);
String1 = "";
String1 = GVGetString(1);
print (string1);

end;
Martin