+ Reply to Thread
Results 1 to 7 of 7

Error with two Workbook_SheetChange events

  1. #1
    Valued Forum Contributor
    Join Date
    08-10-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    721

    Error with two Workbook_SheetChange events

    I understand you cant have two Workbook_SheetChange events in your YourWorkbook - but i need the macros to run throughout each sheet.
    Here are my two.....can they be merged (they do very different things)?

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  2. #2
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Error with two Workbook_SheetChange events

    Why not use the event macro to call the macro from a standard module?
    Be fore warned, I regularly post drunk. So don't take offence (too much) to what I say.
    I am the real 'Napster'
    The Grid. A digital frontier. I tried to picture clusters of information as they moved through the computer. What did they look like? Ships? motorcycles? Were the circuits like freeways? I kept dreaming of a world I thought I'd never see. And then, one day...

    If you receive help please give thanks. Click the * in the bottom left hand corner.

    snb's VBA Help Files

  3. #3
    Valued Forum Contributor
    Join Date
    08-10-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    721

    Re: Error with two Workbook_SheetChange events

    please explain?! i am a noob.

  4. #4
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Error with two Workbook_SheetChange events

    Post a sample workbook, It will be easier to modify the code than explain it. Then you can play with the code to see how it works.

  5. #5
    Valued Forum Contributor
    Join Date
    08-10-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    721

    Re: Error with two Workbook_SheetChange events

    Activity test.xlsm

    See new code in YOURWORKBOOK, this wont run as I have a change event already...

  6. #6
    Forum Expert JapanDave's Avatar
    Join Date
    06-10-2008
    Location
    The grid, I got in!
    MS-Off Ver
    Excel 2010/13
    Posts
    1,696

    Re: Error with two Workbook_SheetChange events

    I don't understand what you are trying to do?

  7. #7
    Valued Forum Contributor
    Join Date
    08-10-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    721

    Re: Error with two Workbook_SheetChange events

    I want the event to fire off my current event macro that effectively sorts by column c. My second event that is clashing simply changes one cell based on the value of another

+ 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