+ Reply to Thread
Results 1 to 4 of 4

Macro to create invoice from changing database

  1. #1
    Registered User
    Join Date
    04-08-2015
    Location
    Tampa
    MS-Off Ver
    2011
    Posts
    2

    Macro to create invoice from changing database

    The macro currently is pulling the data from the invoice database worksheet and adding it to the invoice. I would like to change the code so it's not an absolute reference but one that works off of the column name instead. This is because sometimes the data will have additional columns which will throw off the whole macro.



    Please Login or Register  to view this content.
    Last edited by travissickle; 04-08-2015 at 09:41 PM.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Macro to create invoice from changing database

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    Moderator Comment: This Posting should receive no responses until OP complies with Senior Member Request.
    Last edited by alansidman; 04-08-2015 at 06:21 PM.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    04-08-2015
    Location
    Tampa
    MS-Off Ver
    2011
    Posts
    2

    Re: Macro to create invoice from changing database

    Got the post corrected...anyone help?

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Macro to create invoice from changing database

    I'll see whether I can help tomorrow unless someone solves it in the meantime

+ 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. vba code to copy the values from database into invoice template and create new workbooks
    By anishkumarvs in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-03-2015, 02:48 AM
  2. Print Invoice by pulling info from database by selecting Invoice Number
    By Swapnil Panchal in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-12-2014, 11:21 AM
  3. How to Create an INVOICE DATABASE
    By teeonenc in forum Excel General
    Replies: 4
    Last Post: 08-04-2013, 01:09 PM
  4. Replies: 13
    Last Post: 04-18-2013, 12:32 PM
  5. How can I create a customer database to use with an invoice?
    By Brenda L. Carroll in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-25-2006, 02:55 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