Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
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  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,182
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("A1:D11").Cle ar
appXL.ActiveWorkbook.Sheets(#).Range("A1:D11").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 11:29 PM.

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

About Us

"It's about Microsoft Excel"