+ Reply to Thread
Results 1 to 7 of 7

"The Master" ,The one Book that rules them "ALL."

  1. #1
    Forum Contributor
    Join Date
    06-23-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    239

    "The Master" ,The one Book that rules them "ALL."

    Good evening everyone,
    I have made a template for everyone to use and manage there workbooks not only for personal use but maybe even office called the "The Master" ,The one Book that rules them "ALL."
    I would like it to open many workbooks and log workbook activity by code if possible also. This is were the "Code GODS" are needed!

    Explanation of Workbook "The Master"
    You will see in the workbook (6) fields labeled as such...
    -Workbook Reference list #1 (this area is a reference point for "The Master" to open the said workbooks you want opened) Maybe the file path will have to be enter here for a macro to navigate too or if possible just the workbook name,I don't know that would depend on the "code gods" how this plays out.
    -File Format of Workbook (a macro that would read "what file format the xls is and log it)
    -Last Reference Date and Time (a macro that would read "last date and time" the xls was opened and log it)
    -Amendments made Yes OR No (a macro that would tell if "amendments/changes" to the xls was made and log it)
    -Total Times Opened (a macro that would count total times the xls was opened and log it)
    -Password Protected (a macro that would tell if the xls is password protected and log it). I don't know if this is possible,might have to manually input this data.
    and a notePAD for notes, of course.

    The process.
    Step 1...When you open "The Master" workbook a "Message box would display asking you, "How many workbooks would you like to open,Master?
    And you would input in to the message box how many workbooks you would like to open, (1,2,3,4,5..etc)
    Step 2...Next another Message box would display asking you, "What workbooks would you like to open,Master?
    And you would input in to the message box the names of the workbooks you would like to open, (that would depend on the "code gods" how this plays out). By file path you enter in to the fields or just the workbook name in the reference list.
    Step 3..."The Master" workbook then would open the said workbooks and log the information. And you could start your work.
    Step 4...Upon completion of your task in the workbooks you would save whatever you did and minimize the said workbooks, "The Master" workbook then would ask, Would you like me too log the information,Master? A message box would popup and you would input "Yes or No". Then "The Master" workbook would save all log data about the open workbooks and close them, (this again would depend on the "code gods" how this plays out).

    So lady's and gentleman, is this possible or is it too much to ask for?

    Thank you,
    Brian
    Attached Files Attached Files

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: "The Master" ,The one Book that rules them "ALL."

    What is a "file format" could you give a couple of possible values that you want in that section of the worksheet?

    I'm also wondering about the lay-out of the attached Master workbook. It would be better if your fields (Workbook Name, File Format, Last Opened, Changes Made) did not have spaces between them.
    Similarly, your list of workbooks shouldn't have blank rows if you want to be able to sort or filter the list easily.
    Last edited by mikerickson; 10-07-2016 at 10:10 PM.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Forum Contributor
    Join Date
    06-23-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    239

    Re: "The Master" ,The one Book that rules them "ALL."

    I'm sorry, I mean if the excel file is a xls or xlsm or xlsb. You know whatever the eccel spreadsheet is.

  4. #4
    Forum Contributor
    Join Date
    06-23-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    239

    Re: "The Master" ,The one Book that rules them "ALL."

    Everyone is free to Mae changes to this workbook. It's for everyone to use. As log as it is functional and meets the requirements I think would be a good thing for everyone to have as a logbook. But feel free to wriye,change fields

  5. #5
    Forum Contributor
    Join Date
    06-23-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    239

    Re: "The Master" ,The one Book that rules them "ALL."

    No one has any ideas on how to accomplish this?

  6. #6
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: "The Master" ,The one Book that rules them "ALL."

    The opening/closing stuff sounds awfully complicated. It would be easier for the user to open the workbooks that they want using the normal Excel methods. (Typing file paths is extremely prone to typos)

    The logging of information can be automated. Just log every time that a workbook is opened, saved, save As'ed or NEW.

    The attached does that via a class module.
    Put this code in a class module named clsWBLogger

    Please Login or Register  to view this content.
    And this code in the ThisWorkbook code module
    Please Login or Register  to view this content.
    That will automatically log all Opening, Closeing, Saving and Newing actions of all the workbooks.

    If you want to stop or re-start the logger, this code in a normal module will do that.
    Please Login or Register  to view this content.
    If you want further filtering or sorting of the data collected, an additional sheet should be added and other excel methods used to extract the data that you are interested in.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    06-23-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    239

    Re: "The Master" ,The one Book that rules them "ALL."

    Please Login or Register  to view this content.
    I totally agree sir.

+ 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. Master Summary sheet to "remember" formulae and not do "REF!" errors? (EXCEL 2003)
    By elizabethchilver in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-13-2016, 07:08 PM
  2. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  3. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  4. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  5. Replies: 2
    Last Post: 03-09-2010, 01:25 PM
  6. Replies: 5
    Last Post: 09-19-2008, 04:02 PM
  7. Replies: 7
    Last Post: 05-13-2006, 05:02 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