November 14th, 2002, 7:54 am
QuoteOriginally posted by: KrystianI am trying to import the value of an integer variable from Visual C++ program to a specific Excel file. I am still somewhat new at Visual C++...Could someone please help me out?You need to write a xll function in c++ for excel (see other threads on how to do that). Or you can write a dll function and output the integer to excel through vba. Keep in mind that "integer" in c++ is corresponding to "long" in visual basic and "short" in c++ matches "integer" in vb.