ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Cut - Paste in xls file (c++ code) (https://www.excelbanter.com/excel-programming/332612-cut-paste-xls-file-c-code.html)

allen

Cut - Paste in xls file (c++ code)
 
Problem :

I am coding a project in vc++.
I am not able to cut and paste the row in the excel file
from one cell to another.
Will you PI suugest the code in vc++ for this implementation.

My code :

range = objSheet.GetRange(COleVariant("A8"), COleVariant("K6"));
range.Select();
VARIANT result = range.Cut(....Demands for Destination value ?......)

Thanks,
Allen.



All times are GMT +1. The time now is 02:06 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com