+ Reply to Thread
Results 1 to 3 of 3

Hide all the tasks happening during the Macro Process!!

  1. #1
    Forum Contributor
    Join Date
    06-20-2011
    Location
    Auckland, NZ
    MS-Off Ver
    Excel 2013
    Posts
    165

    Hide all the tasks happening during the Macro Process!!

    Hi Guys,

    I want to hide the following tasks that happens in front of the Excel workbook:

    1. Hide the file copying process window (from the unzip process) happening in front of the Excel workbook
    (###Note: The window for copying process comes up sometimes and sometimes not).. Please find the sample screenshot for it below:
    sample_copying_process.png
    2. Hide the cmd prompt process window (from the .bat file) happening in front of the Excel workbook

    How can we hide the above two tasks and somehow put it behind the workbook.

    Part of my full code is given below:
    Please Login or Register  to view this content.
    Actually cmd prompt process has lot of other tasks in the .bat file. I have only provided some of it.

    I have tried using the code below but in vain..it doesn't hide only those two tasks mentioned above:
    Please Login or Register  to view this content.
    Attached is my .bat file. Please find the link below for it.
    https://www.dropbox.com/s/mldghi7ss8...hFile.bat?dl=0

    Thanks in advance guys.

    Cheers
    Plasma33

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Hide all the tasks happening during the Macro Process!!

    Good morning plasma33

    So you are trying to download a file, using Excel, and then hand control over to a batch file to unzip it?
    It's not going to be possible to hide the batch file window that pops up - you're going to have a hard time to suppress from Excel VBA something that Windows wants to do.

    Why not unzip via VBA? Ron de Bruin is the authority on this type of ttechnique, and discusses a number of them here. The bad news is, if you unzip using the default Windows unzipper, you cannot get around the information window. If you can't put up with that you may have to unzip using 7-Zip (free) or WinZip (not free) - but Mr de Bruin will still show you how to do this from within VBA.

    HTH

    DominicB

  3. #3
    Forum Contributor
    Join Date
    06-20-2011
    Location
    Auckland, NZ
    MS-Off Ver
    Excel 2013
    Posts
    165

    Re: Hide all the tasks happening during the Macro Process!!

    Good Morning, DominicB

    Thank you for your kind reply.

    I will do what is necessary right away. Thank you for the link.

    Cheers
    Plasma33

+ 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. Cannot manage to hide extrnal process window
    By Alexander_Golinsky in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-06-2014, 10:26 AM
  2. Merging Tasks w/ Parts ordered for tasks
    By code870 in forum Excel General
    Replies: 0
    Last Post: 06-19-2011, 01:43 PM
  3. Outlook Tasks - Adding tasks from a worksheet added today or after
    By dpotta in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-28-2010, 07:15 AM
  4. Two tasks, same macro?
    By OptionTrader in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-04-2009, 01:00 PM
  5. Hide Macro Process
    By Brian Morrison in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2005, 04: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