Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old November 24th 18, 09:06 PM posted to microsoft.public.excel.programming
external usenet poster
 
First recorded activity by ExcelBanter: Nov 2018
Posts: 1
Default delete data in an execl from c++

how can i delete data in an excel from c++ ?
i've tried excel_file_name.clean() but it's not working.
thanks in advance .

  #2   Report Post  
Old November 25th 18, 08:05 PM posted to microsoft.public.excel.programming
external usenet poster
 
First recorded activity by ExcelBanter: Apr 2015
Posts: 981
Default delete data in an execl from c++

how can i delete data in an excel from c++ ?
i've tried excel_file_name.clean() but it's not working.
thanks in advance .


Either of methods Clear OR ClearContents

Ref a Range on a specific sheet...
appXL.ActiveWorkbook.Sheets(#).Range("A111").Cle ar
appXL.ActiveWorkbook.Sheets(#).Range("A111").Cle arContents

OR Ref a sheet...
appXL.ActiveWorkbook.Sheets(#).Cells.Clear
appXL.ActiveWorkbook.Sheets(#).Cells.ClearContents

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
data validation in Execl 2007 pcor New Users to Excel 2 January 2nd 08 10:14 PM
Execl VBA [email protected] Excel Programming 2 June 30th 06 12:02 PM
Protect Execl data for different users. Saurabh Excel Discussion (Misc queries) 1 May 30th 06 09:28 AM
EXECL Michael Reeve Setting up and Configuration of Excel 0 January 7th 05 02:26 AM
Data Input Execl Form Seb[_2_] Excel Programming 1 October 22nd 03 04:46 PM


All times are GMT +1. The time now is 05:03 PM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017