+ Reply to Thread
Results 1 to 3 of 3

Write every step made by macro in a cell

  1. #1
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Write every step made by macro in a cell

    So, I have some macros, that open some files, run other macros, creates some PDFs from each file based on the sheet name, save them in a folder and close the opened file. Then these PDFs are consolidated in a single PDF.
    My question is, it is possible to write in a cell, every step the macro makes like "Open file x"->"Creating PDF"->"Closing File" in my Master file, or I need to add a line o every single macro from each file?
    Example in cell C8, every time the step changes should replace the text:
    Step no. Step
    1 Open file x
    2 Creating PDF
    3 Closing File
    4 Open file y
    5 Run Macro z
    6 Creating PDF
    etc etc
    etc etc
    etc etc
    Click the * to say thanks.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow


    So you must add a codeline for each step …

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Write every step made by macro in a cell

    So, basically, I need to add a line into each macro, which is headache. I thought that maybe I could find an easier way

+ 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. Replies: 1
    Last Post: 07-11-2019, 12:52 PM
  2. Macro errors when running, but works when done step by step
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-02-2018, 03:54 PM
  3. Macro to Save changes made to specific cell(s) and ignore all other changes made????
    By Omkar Balgobin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-18-2017, 10:20 PM
  4. Replies: 2
    Last Post: 01-11-2017, 12:24 AM
  5. [SOLVED] For step loop, need step size to change based on reference cell in row
    By Telperion in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-22-2013, 03:41 PM
  6. [SOLVED] preventing simple zoom macro from running step by step
    By reece1984 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-11-2012, 06:13 AM
  7. [SOLVED] I need step by step instructions to create a macro for 10 imbedde.
    By diana in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-30-2005, 10:06 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