Consulting

Page 1 of 2 1 2 LastLast
Results 1 to 20 of 36

Thread: Invoice

  1. #1

    Invoice

    Dear sir,with my regards, i have sent this message to another forum but ( no reply ) asking you kindly to help me , please. Dear sir, with best regards,asking you kindly to take a look for the attached file which contains :
    1- Main sheet including an invoice form 2- Agents sheet including all details that we have registerd in the invoice 3- Materials sheet including details from main sheet .
    My requests are ( with hope they are simple for you ) :
    1- Codes to transfer some details from ( invoice) to ( agents , materials) sheets .
    2- The details i need to transfer are( coloured by orange) in ( agents , materials) sheets .
    3- The invoice details should be clean after transferring data to accept another ones .
    4- In the end of invoice i need a code for ( total amount ) in words .
    Hopping i shall win your help .
    Thanks in advance.

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,476
    Location
    Please post a link in both sites.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    Dear sir,with my appreciation , can i have more clearness about above order , please.

  4. #4
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,476
    Location
    Can you post a link to the other site so I determine if anyone posts before I look at this. As a courtesy, you should do the same at the other site.
    Have a look at this post
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  5. #5
    Dear sir, i have sent this order to (http://www.thecodecage.com/forumz/ex...9-invoice.html on 29/5/2009 and you can see it staying with no reply till now.
    Hopping you shall help after this clarification, please.

  6. #6
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,476
    Location
    As a courtesy, you should do the same at the other site
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  7. #7
    Dear sir, am i right when explaining these orders that ( there is no reply ).
    Thank you for giving me some time.

  8. #8
    VBAX Mentor MaximS's Avatar
    Joined
    Sep 2008
    Location
    Stoke-On-Trent
    Posts
    360
    Location
    try that, see attachments for details:

  9. #9

    Invoice

    Dear sir,with my thanks for your interest and solution , like to inform your goodself that:
    1- No data transferred from main sheet to anothers by ( update) button.
    2- I have recieved this message after ( updating) : ( compile error:variable not defined) .
    Hopping you shall study these matters cure.
    Thanking you.

  10. #10
    VBAX Mentor MaximS's Avatar
    Joined
    Sep 2008
    Location
    Stoke-On-Trent
    Posts
    360
    Location
    change misstyped ING to INV.

    it won't do anything if invoice form is empty (range c18:g39).

  11. #11
    Dear sir,you are wonderful,you are genius,it works very very nice,thank you very much for help.

  12. #12
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,476
    Location
    [VBA]Dim INV, AGN, MAT As Worksheet
    Dim dDate As Date
    Dim tInv As String
    Dim LRow, LRw, i As Long[/VBA]
    Hi Maxim,
    FYI, only MAT is dimmed as worksheet and only i is dimmed as long, The other items on the row become variants. You should Dim each item separately. Lists don't follow English usage!
    Regards
    MD
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  13. #13
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,476
    Location
    Hi Tofimoon,
    You should now see that Patrick Molloy has wasted his time at The Codecage because you did not publish a link there as requested. ( I have now done so)

    With regard to your question here, why do you provide a sample with no data. Do you consider your tiime more valuable than ours?

    Repetition of inconsiderate postings will incur suspension from this site.
    Regards
    MD
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  14. #14
    Dear sir,i ask you kindly to accept my apology for this an intended mistake.
    Hopping it wont repeat again.

  15. #15
    VBAX Mentor MaximS's Avatar
    Joined
    Sep 2008
    Location
    Stoke-On-Trent
    Posts
    360
    Location
    mdmackillop I didn,t know that, but thanks for advice.

    Can you tell me then if below is correct?

    [VBA]Dim x As Long, y As Long, z As Long, i As Long, j As Long[/VBA]

  16. #16
    Administrator
    VP-Knowledge Base VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,476
    Location
    Hi Maxim
    That is OK
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  17. #17
    Dear Mr.MaximS,with my appreciation,1- is there any modification of the code will help the program more 2-is it possible to modify the code by adding column (U) in (materials) sheet which shall contains (agent)name .
    Thanks in advance.

  18. #18
    VBAX Mentor MaximS's Avatar
    Joined
    Sep 2008
    Location
    Stoke-On-Trent
    Posts
    360
    Location
    hi,

    1 - tell me what you want to improve and we will think about it
    2 - done

    see attachment for details.

  19. #19
    Dear sir,many thanks for help,you are excellent realy.

  20. #20
    VBAX Regular
    Joined
    Jan 2009
    Posts
    93
    Location

    4 - Change number into complete words, including currency names


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •