Solved

Using same custom sort on multiple tabs within same spreadsheet  - Excel 2010

Posted on 2013-05-16
2
253 Views
Last Modified: 2013-05-16
Experts,

I have a spreadsheet that has 10 tabs with the same data.  Each tab is representative of an enrollment month.

I would like to sort each tab the same way.  Is there a way to do this without doing a custom sort on each tab separately?
0
Comment
Question by:morinia
  • 2
2 Comments
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 39171827
Dim ws As Worksheet

For Each ws in Worksheets
    ' Do your thing
Next

Open in new window

0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 39171834
The above would be put in a macro and the "do your thing" part could be a macro recorded while you sort one page and then generalized to replace the specific sheet name with "ws".
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

775 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question