Results 1 to 6 of 6

Please help to Insert video in "Do Loop" VBA code in excel

Threaded View

  1. #1
    Registered User
    Join Date
    02-15-2021
    Location
    New Zealand
    MS-Off Ver
    Office365
    Posts
    7

    Please help to Insert video in "Do Loop" VBA code in excel

    Sub Macro1()
    
    Do
    
        Sheets("Sheet1").Select
        Range("A2").Select
        
        Application.Wait Now() + TimeValue("0:00:05")
        
             
        Sheets("Sheet2").Select
        Range("A2").Select
        
        Application.Wait Now() + TimeValue("0:00:05")
        
        Sheets("Sheet3").Select
        Range("A3").Select
        
        Application.Wait Now() + TimeValue("0:00:05")
        
        
        Sheets("Sheet4").Select
        Range("B3").Select
        
        'insert code here to play video (19 sec), video is on S:\test\abc.mp4
        
        
        Application.Wait Now() + TimeValue("0:00:20")
            
           
        
    Loop
    
      
       
    End Sub
    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #2 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer
    Last edited by 6StringJazzer; 11-24-2021 at 07:19 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 05-02-2018, 08:03 AM
  2. Replies: 1
    Last Post: 04-01-2014, 03:21 AM
  3. Macro Error with code "Range("A65536").End(xlUp).EntireRow.Insert"
    By lukasj13 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-30-2010, 08:48 PM
  4. Excel 2002 "Protect Sheet", but Allow "Insert Comments"?
    By VP Safe in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. [SOLVED] Excel 2002 "Protect Sheet", but Allow "Insert Comments"?
    By VP Safe in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  6. [SOLVED] Excel 2002 "Protect Sheet", but Allow "Insert Comments"?
    By VP Safe in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. [SOLVED] Excel 2002 "Protect Sheet", but Allow "Insert Comments"?
    By VP Safe in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 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