ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   (Cut - Paste in Excel )code in vc++ (https://www.excelbanter.com/new-users-excel/32084-cut-paste-excel-code-vc.html)

Allen

(Cut - Paste in Excel )code in vc++
 

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 10:54 AM.

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