+ Reply to Thread
Results 1 to 12 of 12

need macro for auto updating columns

  1. #1
    Registered User
    Join Date
    10-13-2012
    Location
    leicester,england
    MS-Off Ver
    Excel 2011
    Posts
    13

    need macro for auto updating columns

    hi - i have never used macro's before and need to use one for my current spreadsheet - i have attached the sheet that needs the macro adding - basically i want the table to automatically update when the data changes in the column " position " so that if the number changes in that column it sorts into order - if someone could help me with the code needed i would be really grateful - you will also need to tell me step by step instructions on how to insert the code as i have never done this before - i am currently using excel 2011 on a mac - thank you in advance for any help received - very much appreciated

    super 7.xlsx
    Last edited by jaceyjay; 08-21-2014 at 03:04 AM.

  2. #2
    Forum Contributor
    Join Date
    01-30-2014
    Location
    England
    MS-Off Ver
    MS Office 2010, 2007, 2003
    Posts
    149

    Re: need macro for auto updating columns

    I've put in a sheet_change event that calls a macro to sort the column you need sorted
    Let us know if it's what/not what you're after

    Aaron

    super 7.xlsm

  3. #3
    Registered User
    Join Date
    10-13-2012
    Location
    leicester,england
    MS-Off Ver
    Excel 2011
    Posts
    13

    Re: need macro for auto updating columns

    hi aaron - thanks for reply - i opened the sheet but it doesnt seem to sort anything - i.e if the person in 15 th position suddenly becomes in position 1 it doesnt sort so that they go to the top of the list

  4. #4
    Forum Contributor
    Join Date
    01-30-2014
    Location
    England
    MS-Off Ver
    MS Office 2010, 2007, 2003
    Posts
    149

    Re: need macro for auto updating columns

    Hi jaceyjay

    I've put in an on open event too.
    When you change the number for one of the users, the list of who is leading will change

    super 7.xlsm

  5. #5
    Registered User
    Join Date
    10-13-2012
    Location
    leicester,england
    MS-Off Ver
    Excel 2011
    Posts
    13

    Re: need macro for auto updating columns

    hi - i just opened again - as i said it doesnt sort it -for instance if you go to the league ratings page - change the person in position 1 to 15 and change someone else to position one - the this updates onto the other sheet" league" -- but it doesn't sort it into order

  6. #6
    Registered User
    Join Date
    10-13-2012
    Location
    leicester,england
    MS-Off Ver
    Excel 2011
    Posts
    13

    Re: need macro for auto updating columns

    does it change when you alter the data?

  7. #7
    Forum Contributor
    Join Date
    01-30-2014
    Location
    England
    MS-Off Ver
    MS Office 2010, 2007, 2003
    Posts
    149

    Re: need macro for auto updating columns

    Sorry - there was an error with selecting the worksheet in the one I just posted.
    This one is fixed:

    super 7.xlsm

  8. #8
    Registered User
    Join Date
    10-13-2012
    Location
    leicester,england
    MS-Off Ver
    Excel 2011
    Posts
    13

    Re: need macro for auto updating columns

    it still doesn't sort it

  9. #9
    Forum Contributor
    Join Date
    01-30-2014
    Location
    England
    MS-Off Ver
    MS Office 2010, 2007, 2003
    Posts
    149

    Re: need macro for auto updating columns

    Yeah it changes for me when position is changed under League Ratings.

    Try the one I've most recently uploaded - see if that's the same.
    Else it might be your calculation options set to manual.

  10. #10
    Registered User
    Join Date
    10-13-2012
    Location
    leicester,england
    MS-Off Ver
    Excel 2011
    Posts
    13

    Re: need macro for auto updating columns

    ive just tried again but it still doesnt sort it - when i open the file it tells me some content is unreadable - i press to open and repair - then it says excel has removed the unreadable content - then the file opens - do you think excel is removing the macro as " unreadable" ? - i think i might just give up on it and have to resort to sorting it manually everytime

  11. #11
    Forum Contributor
    Join Date
    01-30-2014
    Location
    England
    MS-Off Ver
    MS Office 2010, 2007, 2003
    Posts
    149

    Re: need macro for auto updating columns

    Possibly. It could be conflict between Mac and PC.
    There is a forum on here for Mac users - http://www.excelforum.com/for-other-...mobile-os-etc/

    Might be an idea to ask there. Sorry for any inconvenience.

  12. #12
    Registered User
    Join Date
    10-13-2012
    Location
    leicester,england
    MS-Off Ver
    Excel 2011
    Posts
    13

    Re: need macro for auto updating columns

    thanks for your help anyway aaron

+ 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. [SOLVED] Working Macro not auto updating
    By cccote in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-17-2014, 10:58 PM
  2. Auto Updating Graphs with pre populated columns
    By controlfreak in forum Excel General
    Replies: 0
    Last Post: 02-28-2014, 10:44 AM
  3. Help with automatic chart updating/auto updating today function
    By Tux2424 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 09-26-2012, 04:45 PM
  4. Auto Macro for updating Current Month
    By dandavis1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-01-2010, 05:37 AM
  5. Comparison of several columns in price-updating macro
    By humbertohx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-13-2009, 04:09 PM

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