+ Reply to Thread
Results 1 to 1 of 1

Can someone plz help? Run MS Teams Application in the background_Click and Minimize

  1. #1
    Registered User
    Join Date
    10-03-2019
    Location
    USA
    MS-Off Ver
    2010
    Posts
    98

    Can someone plz help? Run MS Teams Application in the background_Click and Minimize

    Hello All,


    Is it possible to run MS Teams in the background (just click the application and minimize the MS Teams window afterwards). And I want this clicking and then minimizing of Teams window to happen every 5 mins.

    On my screen there could be other active windows OPEN and this (Macro's) shouldn't interfere with applications which are open currently. Is this possible using VBA coding?
    If this is possible, can Macro run automatically as soon as I open the excel? Thank you all in advance!!


    P.S: For other who don't know what is MS Teams this is just another Microsoft Application and same as Skype.

    I tried to an extent but failed, please check the my code below

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    When I first executed the code, the MS Teams window is getting clicked. But I see 2 problems
    1. When I run this script for 10 times then out of 10 only 2-3 times the MS Teams window is getting opened (I mean maximizing)
    2. And all these10 times, the MS Teams Window is NOT getting minimized (I think this line ... ‘Application.WindowState = xlMinimized ‘ .. is not working in the code)

    And the second code, Run Macro Every 5 mins, I don't think this is working at all.

    Can these two get fixed?
    Plus I want these two scripts get executed as soon as I open the excel file.Thank you in advance!!
    Last edited by NametobeRenamed; 02-01-2021 at 11:37 PM.

+ 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] Minimize Excel window but keep it visible in the Taskbar
    By kdsteinman in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-30-2014, 08:18 AM
  2. Replies: 13
    Last Post: 05-10-2014, 11:04 PM
  3. How to minimize the Excel window while the Macro is running ?
    By Ndt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2013, 03:56 PM
  4. Minimize userform and application window
    By dubbdan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-03-2013, 04:55 PM
  5. Replies: 1
    Last Post: 09-28-2012, 03:46 AM
  6. [SOLVED] Macro causing my window to minimize when clicked?
    By Bobp84 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-31-2012, 11:17 AM
  7. Minimize workbook window
    By mqdias in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-21-2007, 10:44 AM

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