+ Reply to Thread
Results 1 to 3 of 3

Automate a reformatting of a file being created........

  1. #1
    Registered User
    Join Date
    08-23-2007
    Posts
    30

    Automate a reformatting of a file being created........

    Very unusual situation and not certain if excel gurus can answer..........


    1. My end user uses an accounting software to generate an excel (csv) file with 6 columns. File is stored in a fixed location - it gets overridden each time the process is launched - Column 3 is a date column - when the file is created - the accounting package populates a date format - 01/01/2015 (Jan 1, 2015).

    2. The end user then has to open the file and re-format column 3 to be a date of: 01-01-2015 before they can transmit to the bank (it's a safe pay type file).

    3. It's obviously bad practice to manipulate a system generated excel file - therefore, is it possible to have some kind of VBA code run immediately after the file is created............or does the VBA have to be manually launched?

    Hope my question is clear.............

    Thanks in advance for any guidance or assistance............

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Automate a reformatting of a file being created........

    Hi,

    The csv file is really a text file that Excel can use. As such, the csv file acts like Kryptonite to most of Excel's magical powers. I'm afraid your VBA code must be manually launched, unless the end user's accounting software has a hook you can use to activate an external process.

    The accounting software may have an option similar to the options in the Microsoft Safe Pay Configurator http://www.dynamicsgpinsights.com/20...with-safe-pay/ that will format the field properly for you.

    Lewis

  3. #3
    Registered User
    Join Date
    08-23-2007
    Posts
    30

    Re: Automate a reformatting of a file being created........

    Thanks for reply. Wells Fargo was the problem - once we figured out their requirements we were able to configure the date field with / and not have to manually enter hyphens........I didn't think VBA would have launched automatically - Microsoft Dynamics GP does have a nice feature to fire off additional FTP software that will send file directly to bank without user intervention..........

+ 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. How do I automate the validation of excel created Hyperlinks?
    By JPWRana in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-19-2013, 05:08 PM
  2. reformatting the excel file according to the template
    By rahulpandita in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-08-2011, 06:52 AM
  3. Reformatting an excel 2007 file
    By artj in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-13-2010, 11:32 AM
  4. Replies: 2
    Last Post: 08-18-2006, 11:00 AM
  5. Saving multi-tab excel file created from comma delimited text file
    By Marcus Aurelius in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2005, 01:20 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