Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-31-2016, 12:13 PM
caoacooper716 caoacooper716 is offline sorting table using Macros Windows 10 sorting table using Macros Office 2010 64bit
Novice
sorting table using Macros
 
Join Date: Mar 2016
Posts: 1
caoacooper716 is on a distinguished road
Cool sorting table using Macros


I have a table at work that my entire office uses. Some people want the table to be sorted alphabetically using column 1 while others want the entire table sorted numerically by column 2. I do not know a whole lot about macros but can i use macros to have the table sorted easily by clicking on one button??
Please advise
Reply With Quote
  #2  
Old 03-31-2016, 07:36 PM
macropod's Avatar
macropod macropod is offline sorting table using Macros Windows 7 64bit sorting table using Macros Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You could, but that seems a lot of complication for something that's as easy as clicking anywhere in the table, clicking on Table Tools>Layout>Sort, then choosing the column to sort by. A macro would also require the document to be saved in the doc or docm format and would fail for anyone who has a high macro-security setting or doesn't otherwise enable the macro when the document opens
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
macro, sort worksheet, table

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
sorting table using Macros Macros to convert text to Table josia Word VBA 3 08-28-2015 09:11 PM
Sorting in Pivot table Alaska1 Excel 1 02-03-2015 09:26 AM
Macro to find a word in first row of table and then perform two macros hmsrose Word VBA 5 01-30-2015 12:17 AM
Sorting part of a table Cosmo Word VBA 2 06-19-2014 10:40 AM
sorting table using Macros Sorting a Word table containing cross-references mpdsal Word Tables 5 02-13-2013 06:44 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:44 AM.


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