+ Reply to Thread
Results 1 to 9 of 9

Automatic running macros

Hybrid View

  1. #1
    Registered User
    Join Date
    10-20-2019
    Location
    Bulgaria
    MS-Off Ver
    Microsoft office 365 pro plus
    Posts
    13

    Re: Automatic running macros

    Thank you for your answer. How can I make the macro hide/unhide the rows in question when a cell in the range G32:G56 is made to contain "Fail". Also how do I make it do that automatically? I am having trouble configuring it.

    Thanks in advance!

  2. #2
    Registered User
    Join Date
    10-20-2019
    Location
    Bulgaria
    MS-Off Ver
    Microsoft office 365 pro plus
    Posts
    13

    Re: Automatic running macros

    Hi guys,

    I figured it out! It allows the change in the result from the formula in B22 to trigger the macro. Here is the answer:

    Private Sub Worksheet_Calculate()
        Dim Xrg As Range
        Set Xrg = Range("$B$22")
        If Not Intersect(Xrg, Range("$B$22")) Is Nothing Then
        ExtendedPopulation
        End If
    End Sub
    Thanks all for helping me!

+ 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. All Macros Are Enabled, But Macros Are Still Not Running
    By chasfh in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 06-04-2019, 07:23 AM
  2. [SOLVED] Two macros are running separately but they are not running at once
    By RavindraK in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-18-2018, 11:51 PM
  3. [SOLVED] Event Driven Macros stop running after running a routine macro
    By ChemistB in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2017, 12:34 PM
  4. [SOLVED] Hiding the file when running macros and after running macros
    By thilag in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-10-2016, 07:15 AM
  5. Automatic Running Macro
    By titanxt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-22-2008, 01:57 AM
  6. Automatic running of Macros
    By praveen_khm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2006, 06:45 AM
  7. using automatic macros or object macros
    By Momo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2005, 02:06 PM

Tags for this Thread

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