+ Reply to Thread
Results 1 to 7 of 7

VBA code for sorting data on multiple sheets

  1. #1
    Registered User
    Join Date
    10-29-2023
    Location
    Antwerp
    MS-Off Ver
    Microsoft Excel 365 V16.78 for Mac
    Posts
    3

    Post VBA code for sorting data on multiple sheets

    Hi,
    I'll try to explain my problem as good as possible.
    I work with 1 'main page' in excel and several help pages.
    On the main page I can enter different names in cell A1. I get in cel B1, C1 and D1 values who are linked with that name.
    Those 3 values are the base for a lot of formulas in the help pages. All this works perfectly. But:
    I need a VBA code that will do the following: I want to sort the data (column A, from A5:A730) in the help pages automaticly the moment I change a name in cell A1 on my main page. (Without going to the help pages) Sorting from high to low.
    The data in those help pages is big. I got 100 columns and 730 rows on each page. (normally 4096 rows but I skipped a lot of them) And I have 9 pages... Only the first 5 columns must be sorted. The rest will follow automaticly because that data depends on those first 5 columns.

    So, who can help me with this? I tried a lot of things but I didn't succeed.
    Attached Files Attached Files
    Last edited by MS V; 10-29-2023 at 11:19 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,096

    Re: VBA code for sorting data on multiple sheets

    Administrative Note:

    Welcome to the forum.

    Please attach a sample workbook.

    Is your forum profile showing the Excel PRODUCT that you need this to work for? There is no version known as 7.1.

    Members will tailor the solutions they offer to the Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your product is for Mac, please also state this.

    The three most recent Excel products are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the version number in your profile (e.g. MS365 Version 2306). This is in the About Excel section further down the Account page.

    Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-29-2023
    Location
    Antwerp
    MS-Off Ver
    Microsoft Excel 365 V16.78 for Mac
    Posts
    3

    Re: VBA code for sorting data on multiple sheets

    Hi, I changed the version.
    Thx

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,096

    Re: VBA code for sorting data on multiple sheets

    That's still not enough, sorry. Which PRODUCT is it? Is it 365? And is it for Mac? All of these things need to be in your profile.

    You have not attached a sample workbook.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,096

    Re: VBA code for sorting data on multiple sheets

    OK - we are getting there, but you didn't add 365 to your profile. And you still haven't provided a sample workbook - instructions are in the yellow banner at the top of the page.

  6. #6
    Registered User
    Join Date
    10-29-2023
    Location
    Antwerp
    MS-Off Ver
    Microsoft Excel 365 V16.78 for Mac
    Posts
    3

    Re: VBA code for sorting data on multiple sheets

    yes busy with that. A moment please.
    I can't find anything about 365. So I've no idea.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,096

    Re: VBA code for sorting data on multiple sheets

    Please see here:

    https://learn.microsoft.com/en-us/of...office-for-mac

    Kindly add 365 to your profile. Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 19
    Last Post: 05-31-2018, 08:09 AM
  2. [SOLVED] Sorting data from rows (multiple sheets) in columns (one sheet)
    By ANA M in forum Excel General
    Replies: 2
    Last Post: 03-16-2015, 08:54 AM
  3. Replies: 1
    Last Post: 11-10-2013, 04:01 PM
  4. Sorting multiple sheets of different data
    By FLYSLENDA in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-12-2013, 06:44 AM
  5. [SOLVED] Sorting specific data to new sheets using vba code
    By MSharif in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-03-2012, 06:01 PM
  6. Sorting data from multiple sheets
    By jessp in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-09-2012, 05:05 AM
  7. Sorting Data on Multiple sheets
    By solnajeff in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-22-2010, 10:18 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1