Example
The following example saves data to a buffer and then loads the data.
C++
VARIANT han;
han = m_Spread.SaveToBuffer();
m_Spread.LoadFromBuffer(&han);
Visual Basic
Dim han as Variant
han = fpSpread1.SaveToBuffer()
fpSpread1.LoadFromBuffer han