+ Reply to Thread
Results 1 to 9 of 9

Need Help to make Quote with vba code ^^

  1. #1
    Registered User
    Join Date
    01-08-2015
    Location
    Egypt
    MS-Off Ver
    2007
    Posts
    13

    Need Help to make Quote with vba code ^^

    Hello at 1st

    I'm trying to make Quote with vba but i can't
    i have a sales sheet and a Quote sheet , what i need is to take the Quote data from the sales sheet , You will understand better if you look at the sheet
    if that can be done with a command button like "pricing" or something it would be great :D .
    Thanks
    Attached Files Attached Files
    Last edited by gostavee; 01-22-2015 at 05:13 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Is there vba to do This ? :D

    Quote Originally Posted by gostavee View Post
    if you look at the sheet
    But you forgot to attach the sample workbook


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    01-08-2015
    Location
    Egypt
    MS-Off Ver
    2007
    Posts
    13

    Re: Is there vba to do This ? :D

    Hehe Thanks :D

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Need Help to make Quote with vba code ^^

    In M2 Cell of sales Shet

    =L2&K2


    Drag it down...


    In D14 Cell of Quote Sheet


    =IFERROR(INDEX(sales!E:E,MATCH(B8&B14,sales!M:M,0)),"-")


    Drag it down...


    Refer the attached file
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-08-2015
    Location
    Egypt
    MS-Off Ver
    2007
    Posts
    13

    Re: Need Help to make Quote with vba code ^^

    Great mate thats great thanks :D ,,wish if i could save it as a pdf after i'm done ..like command button "save&clear" you know or "save&new" :D, but that was good idea mate
    Thanks

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Need Help to make Quote with vba code ^^

    There is no need of VBA or command buttons are needed for this simple task since we can go for another alternate formula which don't need any supportive column in source sheet.

    In D14 Cell of Quote Sheet


    =IFERROR(LOOKUP(2,1/((Customer=$B$8)*(sales!$K$2:$K$13438=$B14)),sales!$E$2:$E$13438),"-")


    Drag it down...

  7. #7
    Registered User
    Join Date
    01-08-2015
    Location
    Egypt
    MS-Off Ver
    2007
    Posts
    13

    Re: Need Help to make Quote with vba code ^^

    Cool :D , but it gives me an error on "(2,1/ " i don't know why
    .Thanks again :D

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Need Help to make Quote with vba code ^^

    Quote Originally Posted by gostavee View Post
    Cool :D , but it gives me an error on "(2,1/ " i don't know why
    Formula included in the attached file for your easy reference
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    01-08-2015
    Location
    Egypt
    MS-Off Ver
    2007
    Posts
    13

    Re: Need Help to make Quote with vba code ^^

    Thanks A lot :D

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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