Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-19-2014, 10:40 AM
Cosmo Cosmo is offline Sorting part of a table Windows Vista Sorting part of a table Office 2007
Competent Performer
Sorting part of a table
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default


Quote:
Originally Posted by macropod View Post
This works for me:
Code:
Sub Demo()
Dim Rng As Range
With ActiveDocument.Tables(1)
  Set Rng = .Range
  With Rng
    .Start = .Rows(3).Range.Start
    .Sort
  End With
End With
End Sub
Thanks, that looks good to me!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting part of a table Sorting a Word table containing cross-references mpdsal Word Tables 5 02-13-2013 06:44 PM
Sorting part of a table Sorting Challenge gbaker Excel Programming 11 06-22-2012 09:39 AM
Sorting by certain criteria randenius Excel 2 06-11-2012 02:18 AM
Sorting part of a table Need help in aplhabetica sorting brooklyn86 Word VBA 1 06-05-2012 11:43 AM
Show part codes only whose have Book qty bal.in Pivot table PRADEEPB270 Excel 2 02-15-2012 04:09 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft