+ Reply to Thread
Results 1 to 18 of 18

How to do auto sorting

Hybrid View

  1. #1
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,294

    Re: How to do auto sorting

    Hi,

    Did you see the code behind sheet1? It will only trigger if you change one of the cells between G16 and H20. If you are entering values below that in column H then change the 20 to the last row you will enter data into.

    Other than that - if you are already running VBA code to pull in data, simply add a line of code after it pulls stuff in of
    ActiveWrokbook.RefreshAll
    and that will update the Pivot Table.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  2. #2
    Registered User
    Join Date
    08-30-2011
    Location
    MALAYSIA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: How to do auto sorting

    Quote Originally Posted by MarvinP View Post
    Hi,

    Did you see the code behind sheet1? It will only trigger if you change one of the cells between G16 and H20. If you are entering values below that in column H then change the 20 to the last row you will enter data into.

    Other than that - if you are already running VBA code to pull in data, simply add a line of code after it pulls stuff in of
    ActiveWrokbook.RefreshAll
    and that will update the Pivot Table.
    what if the range h16:h20 (this is the main data, wont be adding anymore data) remain unchange? Just only the value inside it will change every 10 seconds? Exp. The value of EurUsd is 1.2345 right now, the next second it change to 1.2350. But the value in pivot table will not change to 1.2350 unless i press the refresh on excel.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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