+ Reply to Thread
Results 1 to 3 of 3

Worksheet change event to force recalculation

  1. #1
    Forum Contributor
    Join Date
    11-14-2007
    Posts
    142

    Worksheet change event to force recalculation

    Hi

    I am looking for some code to put in a worksheet module which forces the workbook to recalculate whenever the user hides or unhides a column in that worksheet.

    The act of hiding or unhiding would not be triggered by any VBA routine. The user would simply select the columns with the mouse, right-click and choose hide or unhide as desired.

    Thanks for any help.
    Last edited by 1eyedjack; 05-20-2010 at 05:53 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Worksheet change event to force recalculation

    I'm afraid altering Column visibility is not a Volatile action - ie it does not invoke any event (action can not be trapped by "standard" means).
    This was covered in the thread I linked to in your SUBTOTAL thread.

    edit: removed edit - not a viable approach...
    Last edited by DonkeyOte; 05-20-2010 at 05:49 AM.

  3. #3
    Forum Contributor
    Join Date
    11-14-2007
    Posts
    142

    Re: Worksheet change event to force recalculation

    Hi

    Yes, thanks for that. This thread was born out of that earlier one, as I am sure that you realised. I had not appreciated from the wording of your comments in the other threat that what I was attempting now is impossible (or at best kludgy) - I had thought that it was simply a matter of going the extra mile that you had not addressed in that thread. I stand corrected, understand it and appreciate the clarification.

+ 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