LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Clear an XML Map of all content

try this
Dim myListObject As ListObject
Set myListObject = ActiveSheet.ListObjects(1)
Dim q As Integer
For q = myListObject.ListRows.Count To 1 Step -1
myListObject.ListRows(q).Delete
Next q

"DangerMouse" wrote:


Hi,

Is there a simple line of VB that can be used in a macro to delete all
records from an XML map?

Thnx


--
DangerMouse
------------------------------------------------------------------------
DangerMouse's Profile: http://www.excelforum.com/member.php...o&userid=27755
View this thread: http://www.excelforum.com/showthread...hreadid=538053


 
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
How to clear up useless content within worksheet? Eric Excel Discussion (Misc queries) 1 May 31st 10 04:39 AM
Clear Cells Content No_Spam Excel Discussion (Misc queries) 2 August 20th 06 04:01 PM
How to clear clipboard content programatically Ivan Excel Programming 3 November 23rd 05 04:38 AM
Clear Columns Content Lizz45ie[_7_] Excel Programming 1 November 3rd 05 04:53 PM
Clear the content of a worksheet using VBA Shawshank Excel Programming 3 January 13th 04 03:47 PM


All times are GMT +1. The time now is 07:49 PM.

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

About Us

"It's about Microsoft Excel"