Results 1 to 22 of 22

Copy a sheet into a new book and save file name as the current date.

Threaded View

Jay3 Copy a sheet into a new book... 07-05-2009, 11:35 AM
Leith Ross Re: Copy a sheet into a new... 07-05-2009, 12:35 PM
Jay3 Re: Copy a sheet into a new... 07-05-2009, 02:18 PM
Jay3 Re: Copy a sheet into a new... 07-05-2009, 03:22 PM
Leith Ross Re: Copy a sheet into a new... 07-05-2009, 04:03 PM
  1. #1
    Registered User
    Join Date
    11-11-2004
    Posts
    57

    Talking Copy a sheet into a new book and save file name as the current date.

    Can anyone help with this?

    I have an excel file which I use when I book keep journals in work. Each time I come across a new piece of bookkeeping I add to the file, name the sheet and index it. (I've attached a loose example for illustration) so the bookkeeping template.xls gets bigger every day.

    Currently, when I book keep on a particular day, I open the template.xls workbook;

    draft my journals;

    and then manually copy the worksheets I have completed during the day from the template.xls workbook and paste the sheets into a new book and save the days bookkeeping as the current date.


    With the file I have attached can someone show me how to write a macro and apply it to each of the buttons on the various work sheet tabs (each button will run the same macro).

    Upon clicking a button, I would like the macro to;

    Copy the active sheet into a new book and save the file as the current date.

    Each subsequent click of a button the macro will check if the .xls file exists for the current date, if it does, then it will just copy the active worksheet to the file that has already been created.

    In the new file which is saved as the current date, I need to remove the macro button and the hyperlink that reads back to index.

    I have had some helpful macro's provided from another forum, however, the other forum does not appear to enable users to upload files, so I can't quite convey what it is I am trying to achieve.

    I'd be for any help.
    Thanks,
    Jay3
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

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