+ Reply to Thread
Results 1 to 2 of 2

Create folder, excel file, pdf file, clear details macro

  1. #1
    Registered User
    Join Date
    10-15-2013
    Location
    Brisbane
    MS-Off Ver
    Excel 2010
    Posts
    7

    Create folder, excel file, pdf file, clear details macro

    Hi all,

    This is my first post after being following this forum from a distance

    I started a small business and after a year I decided to automate some of my annoying daily tasks. Invoicing!

    Basically I create a folder in my computer (which is linked with my Sky Drive) with the same name as my client. Then I save the invoice in excel format and also a copy in pdf inside the folder. Trouble is, I have between 4 to 7 clients every day, making more than 25 folders and files to create. (some can be repeat clients, in which I dont need to create a folder just the new files)

    I would love to have a macro to create a folder (if not there yet), save the excel file in that folder, create a pdf in the same folder, then auto increase the invoice number and clear the data before going to the next invoice.

    I hope I could explain what I'm trying desperately to archive. The code I came up with is a mix of some of the codes I found on the net
    I have attached my invoice template below.
    Code is:
    Please Login or Register  to view this content.
    Thank you in advance!

    Generate_Invoice.xlsm

  2. #2
    Registered User
    Join Date
    10-15-2013
    Location
    Brisbane
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Create folder, excel file, pdf file, clear details macro

    I forgot to mention that when I run the macro nothing shows on my screen. I would think that an error message would show if there is any wrong parameters?
    Please, if anyone have an idea of what I've done wrong, it would be much appreciated!
    Carlos

+ 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. [SOLVED] Macro to get the latest file (excel file) in the folder
    By vigneshwaran in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-06-2022, 05:36 AM
  2. List of file names & details in a folder
    By Navin Agrawal in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-04-2012, 04:02 AM
  3. Rename file and Create new file with new folder with macro/vba
    By rizki96 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-11-2011, 08:01 AM
  4. Replies: 3
    Last Post: 09-30-2011, 04:35 AM
  5. a macro to show all file details existing in a folder.
    By abhay_547 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2010, 09:59 AM

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