+ Reply to Thread
Results 1 to 15 of 15

how to add a macro to ask details to insert a new product on sheets i select?

  1. #1
    Registered User
    Join Date
    04-18-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    62

    Lightbulb how to add a macro to ask details to insert a new product on sheets i select?


    hi,
    i will try to explain as clear is possible:

    well, i got an excel workbook, that has many pages( 10 ).
    this workbook has all my stock in diferent sheets(locations).

    i will like a code, to click a button, and then to get these questions to answer:
    SKU
    Commodity
    Product
    Pack size
    Quantity
    Price

    then, to bring another menu, with all sheets listed, so i can tick which ones i want this product to be insented.

    then the macro will insert this product on the selected sheets .

    Any help really appreciated !!!

  2. #2
    Registered User
    Join Date
    04-18-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    anyone ??
    i really need to finish this project, and i stuck

  3. #3
    Registered User
    Join Date
    04-18-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    hi again, i've been working on the below code few days now, and works ok, but now i'm on the last stage, to continue the code to insert all the details on the selected sheets in the same order as inputed on the first available row on each sheet.
    now i'm lost !! any help?
    code:
    Please Login or Register  to view this content.
    Last edited by arlu1201; 05-22-2013 at 04:18 AM.

  4. #4
    Valued Forum Contributor abduljaleel.mca's Avatar
    Join Date
    02-13-2013
    Location
    Chennai, India
    MS-Off Ver
    MS 365 Business
    Posts
    326

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    Do you want to append the data at the end or need to clear the existing data in the particular sheet you are going to select.....

  5. #5
    Registered User
    Join Date
    04-18-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    Quote Originally Posted by abduljaleel.mca View Post
    Do you want to append the data at the end or need to clear the existing data in the particular sheet you are going to select.....
    hi,

    i'm sending the workbook too.
    i added a button on the "Master Sheet" ( but not a code )

    i need the macro to collect the info i input, and then to go to the selected sheets i choose and add the product on any available blank row.

    will be handy, if the sheets keep updating as well, and delete empty rows anyway.
    so, if i delete a product from any sheet, then automatically will delete that row, or push up the other products.
    i hope that helps
    thank you in advance.
    Stock Sheets V5 Full.xlsm

  6. #6
    Valued Forum Contributor abduljaleel.mca's Avatar
    Join Date
    02-13-2013
    Location
    Chennai, India
    MS-Off Ver
    MS 365 Business
    Posts
    326

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    The file which u attached is password protected, please send this again with unprotect sheets.

  7. #7
    Valued Forum Contributor abduljaleel.mca's Avatar
    Join Date
    02-13-2013
    Location
    Chennai, India
    MS-Off Ver
    MS 365 Business
    Posts
    326

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    Use this....
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    04-18-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    hi,

    yes works great as i wanted, but how about if product has to go in 2 sheets?
    do i need to add all the info again 2 times?

  9. #9
    Valued Forum Contributor abduljaleel.mca's Avatar
    Join Date
    02-13-2013
    Location
    Chennai, India
    MS-Off Ver
    MS 365 Business
    Posts
    326

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    Yes, You need to enter all the info 2 times (type 'y' to continue 'n' to exit) for 2 sheets....

  10. #10
    Registered User
    Join Date
    04-18-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    thank you for your help

  11. #11
    Valued Forum Contributor abduljaleel.mca's Avatar
    Join Date
    02-13-2013
    Location
    Chennai, India
    MS-Off Ver
    MS 365 Business
    Posts
    326

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    Use this file....as per your personal request....
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    04-18-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    Thank you works perfect, but the "print sheets" button is not working now, but i will try to sort it out some how.

  13. #13
    Registered User
    Join Date
    04-18-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    V7 only to keep new stock.xlsm

    there is the new file to add when you can the 2 codes as per email.

    thank you again

  14. #14
    Valued Forum Contributor abduljaleel.mca's Avatar
    Join Date
    02-13-2013
    Location
    Chennai, India
    MS-Off Ver
    MS 365 Business
    Posts
    326

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    Try this....
    Attached Files Attached Files

  15. #15
    Registered User
    Join Date
    04-18-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: how to add a macro to ask details to insert a new product on sheets i select?

    you are a star !! many thanks for all your help ( Again )

+ 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