+ Reply to Thread
Results 1 to 2 of 2

Trying to sort Data but Formula not triggering Worksheet_Change.

  1. #1
    Registered User
    Join Date
    01-30-2020
    Location
    fresno
    MS-Off Ver
    2017
    Posts
    14

    Trying to sort Data but Formula not triggering Worksheet_Change.

    Hello all,

    I am trying to sort Raw data from one workbook and sort it in another. The problem I am encountering is when a new value is inputted in the first workbook, it doesn't trigger a ws_change in the second workbook so my code does not run.

    I am trying to do this through VBA since I don't think this can be done by a normal sort and update upon a new value or value change. here is my sample code:

    sample sort code.png

    I have tried to use WS_Calculate instead since that triggers, however there is no "target" so I don't know where to sort.

    any help or advice or a different perspective on this problem would be helpful.

    ( I am pretty new to VBA so it might be an error on my part).

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Trying to sort Data but Formula not triggering Worksheet_Change.

    Use Worksheet_Change on the Bulk Data sheet, but sort the other sheet in that procedure since you know it just changed based on the bulk data sheet target cell.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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] Checkbox triggering data validation failed
    By lynnsong986 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-02-2019, 09:46 PM
  2. Formula not triggering Routine
    By Garysmith in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-01-2019, 08:37 PM
  3. DataForm and triggering WorkSheet_Change
    By Barslund in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-31-2017, 09:25 AM
  4. [SOLVED] Error when triggering a macro to clear filtered data
    By Zenarte in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2017, 06:01 PM
  5. [SOLVED] How to get an AVERAGEIFS formula to not include cell in average, by triggering switch?
    By Carmstrong227 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-19-2013, 01:15 PM
  6. Volatile formula not triggering Workbook_SheetCalculate()
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-16-2012, 10:57 AM
  7. Worksheet Change Event not triggering with cells containing formula
    By Skell in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-15-2012, 06:16 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