+ Reply to Thread
Results 1 to 6 of 6

Button for adding a new line across multiple sheets, inputting data to certain cells

  1. #1
    Registered User
    Join Date
    02-05-2014
    Location
    Canada
    MS-Off Ver
    Excel 2013
    Posts
    29

    Question Button for adding a new line across multiple sheets, inputting data to certain cells

    Hey Everyone,

    Here's my situation. I have a liquor accounting and ordering system I'm introducing for a small chain of restaurants and bars, and there are many different products across them all. To implement this system, one hurdle we are looking into is an easy way for a certain location to add a new product into their inventory.

    The system is a 4 page worksheet, and what I'd like is to be able to push a button and have a dialog box pop where they could fill in the information needed to add a product. They would select a row in the section they want to add a product, fill in some info about the product, and it would insert that data into a couple different cells across the workbook, always on the same row.

    This is what I have so far, I copy and pasted something from someone else who was doing something similar and tweaked it, but I'm not sure how to paste different information into different cells on the different sheets. It is also copying any information that doesn't have something to input from the line above it.

    Please Login or Register  to view this content.
    So an example of where I would want the data to go would be something like in the first page, the order would be Cell 1 NewName, Cell 2 Packsize, Cell 3 BtlCanOz. Then on the worksheet labelled "order par sheet" I would need the same row to have Cell 1 NewName, Cell 2 Packsize. On Worksheet labelled Order, I need Cell 1 CSPC, Cell 2 NewName

    Thanks Everyone, any help is really appreciated!
    Last edited by alansidman; 02-05-2014 at 08:50 PM. Reason: code tags added

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2507 Win 11
    Posts
    24,918

    Re: Button for adding a new line across multiple sheets, inputting data to certain cells

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

    Posting code between
    Please Login or Register  to view this content.
    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



    (Because you are new to the forum, I have added them for you today. Please read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    02-05-2014
    Location
    Canada
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Button for adding a new line across multiple sheets, inputting data to certain cells

    Thank you, will adhere to rules from here on out, promise!

  4. #4
    Valued Forum Contributor
    Join Date
    01-19-2010
    Location
    Melbourne Australia
    MS-Off Ver
    latest is Excel 2016. have older versions
    Posts
    624

    Re: Button for adding a new line across multiple sheets, inputting data to certain cells

    Hello jamief, and welcome to the forums

    It is always an excellent idea to post a sample workbook with your request including just enough data to show what you are working with and what your expected result is.

    You increase the chance of someone looking at your request if we don't have to do heap of "think this is what he means" data entry AND you often get your sample workbook back with the suggested solution included (and occasionally a suggestion on a different way to achieve the desired outcome

    Cheers

    Jmac1947

  5. #5
    Registered User
    Join Date
    02-05-2014
    Location
    Canada
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Button for adding a new line across multiple sheets, inputting data to certain cells

    Ok Thanks! Here is the attachment

    You will see a button on the first work sheet, which is the one I am working on

    Cheers!

    LWB LICORS P6W4 Work In Progress v2.xlsm
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-05-2014
    Location
    Canada
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Button for adding a new line across multiple sheets, inputting data to certain cells

    Figured it out

    Please Login or Register  to view this content.

+ 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. Replies: 5
    Last Post: 01-20-2009, 11:56 AM
  2. adding cells from multiple sheets
    By macafeller in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-16-2007, 09:53 PM
  3. inputting multiple data with different formats into the same cells
    By Tintin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-14-2007, 12:12 PM
  4. Adding a line over multiple sheets
    By c991257 in forum Excel General
    Replies: 1
    Last Post: 02-28-2007, 07:52 PM
  5. Adding Cells from Multiple Sheets
    By Kevin G in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2005, 02:05 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