+ Reply to Thread
Results 1 to 2 of 2

Running ccleaner with VBA

  1. #1
    Registered User
    Join Date
    06-19-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2016
    Posts
    97

    Running ccleaner with VBA

    Hey guys,

    Is there any VBA code that will run, or better yet open, run, and then close, ccleaner?

    Also, can you control whether the macro continues on while ccleaner runs or waits for it to finish?

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Running ccleaner with VBA

    The easiest method is to use Shell() and add the command line options. http://www.piriform.com/docs/ccleaner/advanced-usage

    Otherwise, Shell() after editing or making an INI file.

+ 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. Macro to hide/unhide cells not running or running slow
    By mbp727 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-17-2013, 04:22 PM
  2. [SOLVED] Canceling a running macro before re running that same macro
    By Klayton in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-09-2013, 07:42 PM
  3. Help!? Running/Re-running a SQL Script through Excel (easily?)
    By KOOOP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-11-2013, 02:27 PM
  4. Running total of multiple running totals
    By ashncg in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-09-2011, 05:20 PM
  5. Prevent functions from running while macro is running
    By palpha32 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-24-2009, 08:42 PM

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