Excel Button to copy changes to specific cells on new sheet

%3CLINGO-SUB%20id%3D%22lingo-sub-2264071%22%20slang%3D%22en-US%22%3EExcel%20Button%20to%20copy%20changes%20to%20specific%20cells%20on%20new%20sheet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2264071%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20I%20need%20help%2C%20I%20am%20trying%20to%20make%20a%20new%20excel%20file%20that%20will%20copy%20any%20changes%20that%20are%20made%20to%20a%20new%20excel%20sheet%20as%20part%20of%20that%20history%20and%20also%20so%20I%20can%20print%20the%20changes%20off.%20Not%20sure%20if%20you%20have%20to%20save%20changes%20first%20before%20button%20click%20but%20I%20don't%20mind%20either%20way.%20For%20instance%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20an%20excel%20file%20that%20tracks%20new%20cars%20coming%20in%20to%20a%20specific%20lot.%20So%20for%20the%20new%20car%20it%20would%20have%20it's%20own%20excel%20sheet%20and%20sections%20on%20each%20like%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELot%20Section%20where%20you%20choose%20which%20lot%20it%20is%20in%20(either%20check%20mark%20or%20X)%3A%3C%2FP%3E%3CP%3ELot%20A%3CBR%20%2F%3ELot%20B%3C%2FP%3E%3CP%3ELot%20C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20there%20would%20be%20another%20section%20for%20color%20of%20the%20car%20with%20either%20a%20check%20mark%20or%20X%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EBlue%3C%2FP%3E%3CP%3ERed%3C%2FP%3E%3CP%3EGreen%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20at%20the%20bottom%20of%20the%20sheet%20I%20want%20there%20to%20be%20a%20button%20that%20when%20it's%20clicked%2C%20it%20will%20copy%20the%20changes.%20So%20if%20a%20new%20car%20comes%20in%20to%20lot%20C%20and%20it's%20red%2C%20I%20would%20like%20to%20be%20able%20to%20click%20the%20button%20and%20it%20takes%20those%20changes%20to%20a%20specific%20area%20on%20a%20new%20sheet%20or%20even%20if%20it's%20possible%20to%20move%20it%20to%20an%20existing%20sheet%20called%20ChangeLog.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20have%20text%20on%20the%20existing%20sheet%20(or%20new%20if%20existing%20can't%20be%20done)%20that%20says%20%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%22Lot%20car%20was%20placed%20in%3A%22%20and%20%22Color%20of%20new%20car%3A%22%20and%20the%20data%20would%20be%20pasted%20below%20those%20sections.%20Can%20someone%20help%20please%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2264071%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2264152%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20Button%20to%20copy%20changes%20to%20specific%20cells%20on%20new%20sheet%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2264152%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1021735%22%20target%3D%22_blank%22%3E%40jchi2210%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20think%20that%20you%20may%20be%20approaching%20this%20in%20the%20wrong%20way%2C%20frankly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20general%2C%20creating%20a%20separate%20sheet%20for%20each%20new%20entity--in%20your%20case%2C%20cars--is%20a%20mistake.%20Your%20workbook%20would%20be%20far%20more%20likely%20to%20be%20effective%20and%20manageable%20if%20you%20set%20up%20a%20single%20inventory%20sheet%20that%20records%20the%20locations%20and%20color%20(and%20model%2C%20year%2C%20other%20features)%20of%20each%20car%20on%20the%20same%20sheet.%20Excel%20then%20can%20be%20used%20with%20a%20LOT%20of%20power%2C%20to%20extract%20all%20of%20that%20based%20on%20any%20of%20those%20identifying%20characteristics.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESeparating%20the%20raw%20data--the%20single%20database%20with%20all%20of%20those%20cars--from%20the%20output%20is%20a%20far%20better%20way%20to%20design%20an%20inventory%20management%20system.%20It%20sounds%20like%20you%20may%20already%20have%20a%20sheet%20that%20tracks%20each%20new%20car%20coming%20in.%20I%20suggest%20you%20focus%20on%20making%20that%20a%20solid%20and%20robust%20core%20to%20your%20system.%20%3CEM%3EThen%3C%2FEM%3E%20develop%20the%20ways%20to%20extract%20a%20record%20(%20or%20multiple%20records)%20of%20cars%2C%20their%20locations%20and%20features%2C%20that%20might%20meet%20the%20criteria%20of%20a%20customer.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20have%20the%20newest%20version%20of%20Excel%2C%20I%20suspect%20you'd%20find%20the%20FILTER%20function%20very%20useful.%20Here's%20a%20very%20helpful%20introductory%20video%20on%20that%20and%20some%20associated%20functions.%20%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D9I9DtFOVPIg%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D9I9DtFOVPIg%3C%2FA%3E%3C%2FP%3E%3CP%3EBut%20by%20all%20means%2C%20come%20back%20with%20more%20questions.%20If%20you%20do%20in%20fact%20have%20a%20working%20spreadsheet%20already%20that%20could%20serve%20as%20the%20core%20database%2C%20please%20attach%20a%20copy%20(so%20long%20as%20no%20proprietary%20info%20is%20included).%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello, I need help, I am trying to make a new excel file that will copy any changes that are made to a new excel sheet as part of that history and also so I can print the changes off. Not sure if you have to save changes first before button click but I don't mind either way. For instance, 

 

I have an excel file that tracks new cars coming in to a specific lot. So for the new car it would have it's own excel sheet and sections on each like this:

 

Lot Section where you choose which lot it is in (either check mark or X):

Lot A
Lot B

Lot C 

 

Then there would be another section for color of the car with either a check mark or X:

Blue

Red

Green

 

And at the bottom of the sheet I want there to be a button that when it's clicked, it will copy the changes. So if a new car comes in to lot C and it's red, I would like to be able to click the button and it takes those changes to a specific area on a new sheet or even if it's possible to move it to an existing sheet called ChangeLog.

 

I would have text on the existing sheet (or new if existing can't be done) that says : 

"Lot car was placed in:" and "Color of new car:" and the data would be pasted below those sections. Can someone help please? 

 

4 Replies

@jchi2210 

 

I think that you may be approaching this in the wrong way, frankly.

 

In general, creating a separate sheet for each new entity--in your case, cars--is a mistake. Your workbook would be far more likely to be effective and manageable if you set up a single inventory sheet that records the locations and color (and model, year, other features) of each car on the same sheet. Excel then can be used with a LOT of power, to extract all of that based on any of those identifying characteristics.

 

Separating the raw data--the single database with all of those cars--from the output is a far better way to design an inventory management system. It sounds like you may already have a sheet that tracks each new car coming in. I suggest you focus on making that a solid and robust core to your system. Then develop the ways to extract a record ( or multiple records) of cars, their locations and features, that might meet the criteria of a customer.

 

If you have the newest version of Excel, I suspect you'd find the FILTER function very useful. Here's a very helpful introductory video on that and some associated functions. https://www.youtube.com/watch?v=9I9DtFOVPIg

But by all means, come back with more questions. If you do in fact have a working spreadsheet already that could serve as the core database, please attach a copy (so long as no proprietary info is included).

Learn everything about our brand-new Dynamic Arrays and how you can use them to build advanced spreadsheets. Arrays (CSE) have long been present in Excel, bu...

@mathetes I guess I probably used bad examples, I'm not actually using cars or lots or colors. I'm using this as a System Access Authorization form that stores logs when changes are made to specific users access. The first sheet will have all of the current Users system data, the sheets after would be change logs made to the first sheet and would be dated. The change logs will be printed off and have places for signatures authorizing the changes being made. 

 

I just need help creating the button that would copy changes made to specific areas on another sheet in the same workbook so that they can be printed off and "authorized". I just wanted to keep it simple and use any examples given to design it specifically for what I need. 

I will maintain still that a single transaction history (which can be used to record changes) is a better approach. I base that on years of experience as the director of a major database design (for HR and Payroll for a major US corporation)......

Database Design is my purview; Excel buttons that do things are not.....so I'll leave that to others. But I do suggest you think about your design.
It may be a better approach but I'm not trying to achieve transaction history as my main goal. My main goal is to have something to print off after making changes to a user without having to design a database or go too indepth. It will not be used a lot overall, it's primary purpose will be to print changes made and get signatures on them. The log part is just a nice byproduct of that since with my design you'll have a new sheet, so I figured why not give it a date and you're good to go.