Advertisement

07.01.2008 at 02:09PM PDT, ID: 23531692
[x]
Attachment Details

How to create a QuickBooks .iif import file using VBA

Asked by divehunter in Quickbooks Financial Software, Microsoft Excel Spreadsheet Software, Access Coding/Macros

Tags: VBA, vbscript

Hi, We're currently using QuickBooks 2007 Enterprise.  Each month we have appx. 300 agents that we need to pay commissions.  These commissions 'bills' need to be entered into QuickBooks (one transaction per agent per month).  QuickBooks has an import function using .iif files that will allow us to automatically import the agent commissions but the .iif file must be in a certain format.  In our Access db I've setup a make table query that will create all the agent commission information needed for the import into QuickBooks but I'm hoping for some help on how to write a vba Access function that will take the table information and generate a properly formatted .iif file for me with the 300+ agent commission information.  I've attached a workboot that will hopefully make it a little clearer.  One sheet in the workbook (Sample Quickbooks Import File) shows the format of the import file (this is the file I'm trying to create with VBA).  The only fields that will be pulled from the table are Date, Accnt, and Amount.  However each row must be formatted exactly for QuickBooks to use it.  The second spreadsheet is a sample of the tblAgentCommissions2QuickBooks table.  Any help is much appreciated.  Thanks in advance.Start Free Trial
Attachments:
 
Sample Excel file for QuickBooks
 
[+][-]07.01.2008 at 03:35PM PDT, ID: 21912164

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Quickbooks Financial Software, Microsoft Excel Spreadsheet Software, Access Coding/Macros
Tags: VBA, vbscript
Sign Up Now!
Solution Provided By: irudyk
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628