VBA to Copy and Paste Rows if Condition is Met - Excel VBA Example by ExcelDestination

  Рет қаралды 1,764,818

Excel Destination

Excel Destination

Күн бұрын

VBA Code to Copy and Paste specific rows from one sheet to another sheet when condition is met can be used on Click Event of Command Button. In this example, Looping concept in VBA along with IF Condition is used to copy entire row if condition is met and paste on another sheet.
To Learn "Copy and Paste when Multiple Conditions are Met", Watch Below Tutorial :
• Excel VBA Code to Copy...

Пікірлер: 715
@georgegousteris4700
@georgegousteris4700 5 жыл бұрын
Thank you very much, it was exactly what i needed!
@martincanby2392
@martincanby2392 4 жыл бұрын
Thank you! Say you have a sheet with 20 rows, first 7 are heading for product codes, names and quantities. In the following rows, you want to input a quantity for an order. In the quantity column, you input a value (order amount)i in only half of the rows because not every item needs to be ordered. Do you use this formula so that only the rows that you enter a value in (an order amount) show up in another sheet copying the rows with the order value?
@Gaminiheraliyawala
@Gaminiheraliyawala Жыл бұрын
YES, It works. Really good for new learners who wants to begin VBA Excel 👍👍👌👌
@ExcelDestination
@ExcelDestination Жыл бұрын
Thanks 😊
@101010Meaning
@101010Meaning 2 жыл бұрын
Finally, a competently explained video!
@ExcelDestination
@ExcelDestination 2 жыл бұрын
thanks
@qianpiscessay4728
@qianpiscessay4728 3 жыл бұрын
I am a beginner of VBA, and can understand almost all your explanation. Well done! Described.
@ExcelDestination
@ExcelDestination 3 жыл бұрын
Cool, thanks!
@rameenakhtar6581
@rameenakhtar6581 Жыл бұрын
lol nnjjjkjnjjkkiuuu we j I'll LP ok thhbskkn we lu hnmjubnk j we usei
@aliaesi2974
@aliaesi2974 Жыл бұрын
​@@ExcelDestinationن❤٧٧خخخخمنمهههت٠عه٨ههنط😊٨ههندظمن١منهطهنخممههننكظشحح٣خضخقخشخشخششصج١٦٨٢خخص٨٢٧٣٨ط٥نخشيشهشخذ٨ه٨دنهخمممممح😎😄😉😉😁😀😁🖤😚
@aliaesi2974
@aliaesi2974 Жыл бұрын
دمممخه٩٠٠ت❤٨نح
@vinayakvagare405
@vinayakvagare405 6 жыл бұрын
Can we protect only copy option in excel sheet for specific range (ctr +c option)
@SnehaJayal
@SnehaJayal 5 жыл бұрын
Hi, thank you for sharing this video. I have a question, if we want to use same macro for 2 different workbooks having different values, different number of rows but, there is one common value say in B1 (Items) for both the workbooks. Say, I use filter to sort out Items in B1 and copy the data of different items in separate new excel sheets. Is it possible?
@qasirali5877
@qasirali5877 Жыл бұрын
5
@user-jh6ww1qx8e
@user-jh6ww1qx8e 4 жыл бұрын
Thanks this was very useful, I adapted it for copying only matching columns to destination sheet
@yuengmunsoh5710
@yuengmunsoh5710 4 жыл бұрын
Hi do u mind sharing how u did that? Thx.
@the9knight725
@the9knight725 5 жыл бұрын
Fantastic, very easy description !!! Thank You
@klloyd76
@klloyd76 4 жыл бұрын
This is such a great tutorial and exactly what I needed. How can I add onto this VBA to delete the row I just copied and pasted onto sheet 2 from sheet 1? And, how can I be sure I'm only pasting it 1 time (no duplicates)? Thank you!!
@traypas6289
@traypas6289 5 жыл бұрын
Brilliant! Thank you for this! So helpful. Is there a way to adjust the code so that I can add more rows to Sheet1, click on the Command Button and NOT have it recopy the previously entered rows? I hope that makes sense. I would like to be able to add more rows and only copy the new rows to the designated sheet. Or is there a function that will automatically filter the entire row to a new sheet based on the value of a certain cell in that row?
@jonathanngking4052
@jonathanngking4052 5 жыл бұрын
Hi, were you able to find solution to this?
@gokulrajrajan5052
@gokulrajrajan5052 2 жыл бұрын
Excel Destination, please give the solution to this.
@pilarschumaker3360
@pilarschumaker3360 5 жыл бұрын
Question: I have one column that the values include "Morning'", "Noon", or "Evening" shifts. I would like to copy the rows of those employees that are in the "Morning" or "Evening" Shifts from one sheet to another, if either or these conditions are met using the looping concept such as the one above video example you have. Thank you :)
@mohamedabdelrahaman311
@mohamedabdelrahaman311 Жыл бұрын
A
@MusicforMe123
@MusicforMe123 6 жыл бұрын
This is a fabulous code, I have been using offset to go to the next available row, this vba code is much better.... thanks.
@ExcelDestination
@ExcelDestination 6 жыл бұрын
thanks for your great comment!
@joepike3861
@joepike3861 6 жыл бұрын
Excellent code. Works great! Thank you.
@ExcelDestination
@ExcelDestination 6 жыл бұрын
Thanks for the comment!
@sapitamar510
@sapitamar510 6 жыл бұрын
hi There, u code is working well, but how to stop it duplicate every time i click command bar?
@nandhinikuppusamy3615
@nandhinikuppusamy3615 4 жыл бұрын
Thank you sir. It is very useful I used this for cut and paste. But sheet1 has blank cells. How can I remove that blank cell automatically.
@jlpayne052710
@jlpayne052710 3 жыл бұрын
THIS is Awesome! Do you happen to know if it will find specific texts (Key words) with the cell?
@maldighaithir
@maldighaithir 6 жыл бұрын
Can you help me with coding something please? I have 3 independent cells that are updated automatically, i want to copy and paste these 3 cells as value in a table that has every day of the month, and if i change the date for example to few days ago, i want the macro to take the values of the 3 cells and paste it on the table and on the row that has the matching date of the reading Thank you
@ritzheist
@ritzheist 5 жыл бұрын
Hello! Can you help me on this? This is regarding stock trading. If a cell value is 'sell or buy' then it should automatically record the stock's (live current price). And after a while when 'sell or buy' disappears (cell value is empty) it records the changed current price into another cell beside previous record. For example suppose the price keeps changing over a period of time, lets say cell A1 value is Sell/Buy and the price (Cell B1) is 235, so it records 235 and put it in cell C1. After some time if the A1 is empty and B1 value is 200, then it should paste 200 in D1. That means we will have two price C1=235 and D1=200. It should be automated "No button to click" via macro. Is it possible? Thanks!
@pathumkumara3675
@pathumkumara3675 5 жыл бұрын
Your tutorial is very helpful. But I have a small problem, when i update the master worksheet and then after I click the button it will going to copy all the data again, I wanted to stop that and copy the new records only when i click the button every time i update the master sheet. Can you help me to do that.
@bmxpunk01
@bmxpunk01 3 жыл бұрын
This is great - very helpful. I was able to kind of apply it to an issue I'm trying to resolve, but need the data to be pasted into a table on a different sheet. Is there an easy way to modify this code to do that?
@ExcelDestination
@ExcelDestination 3 жыл бұрын
you can always modify the code
@nadeemjohn6126
@nadeemjohn6126 3 жыл бұрын
Perfect! Excellent video Sir. Keep up the good work. It solved my problem. Thanks
@ExcelDestination
@ExcelDestination 3 жыл бұрын
Great to hear!
@anitawehrli3621
@anitawehrli3621 5 жыл бұрын
How should the code be modified so that it only adds rows from Sheet1 to Sheet2 if they have not previously already been added? E.g. could it check to see if the Emp ID already exists on Sheet2 and if yes then to not copy that row again, but move on to the next one and check again before copying?
@jackkillingsworth2228
@jackkillingsworth2228 4 жыл бұрын
Thank you so much!!! I've been trying to do this all day. Your tutorial worked perfectly!
@user-uv8bs5nn7o
@user-uv8bs5nn7o 10 ай бұрын
😮 😮 good zginkkkkkkkkkkkkkjjjjjjjjjjjjjmmmmmmmkkkkmmmkkkkkkkkkkkkkkkkkkkjkjjkkkkkkkkkhjjjjjjjjhhhhhhhhhhhhjhhhbjbbhhhhb
@jenniewong9926
@jenniewong9926 5 жыл бұрын
wonderful explanation! thank you so much for sharing your knowledge!
@ExcelDestination
@ExcelDestination 5 жыл бұрын
Thanks Jennie!
@unitedworldcare9497
@unitedworldcare9497 4 жыл бұрын
2 years before I saw your very valuable video. For nearly 10 days, I am searching this video. Thanking God to give me this link. Many Thanks to you for posting this valuable video.
@jhoncrisgimarino157
@jhoncrisgimarino157 2 ай бұрын
😮😮😮😢😊ñññ . Mi
@maxact9220
@maxact9220 5 жыл бұрын
I have excell sheet where in column D i need to restrict the characters limitations to 40 only when copy and paste some data from any excel sheet in any cell in this column also when typing in same column more than 40 characters a pop up warning msg displayed and prevent the paste action as well as preventing the typing action
@junekarlin8985
@junekarlin8985 4 жыл бұрын
This is the first time I've used VBA and it worked great. I created a command button that will run all three of my functions at once. Can I hide the three original buttons so only the new combined command button is visible? Is there a way to keep it from recopying previously pasted rows?
@santoshkhadka6139
@santoshkhadka6139 2 жыл бұрын
Q
@GLENED1030
@GLENED1030 5 жыл бұрын
Hello thank you for your instructions, I did the exactly one with my workbook, question I need to do the same macro 5 times, copy and paste to different sheets, Is not working for the second one. What I'm doing wrong?
@lcavit
@lcavit 3 жыл бұрын
Hi Glenda! Did you ever figure this out? I have the same issue.
@mizouman
@mizouman 6 жыл бұрын
Thank you for your nice tutorial, very helpful
@acharivinayak
@acharivinayak 3 жыл бұрын
Hey the explanation is good, wanted to know, what would be the code if i need to copy a row based on duplicate values in a particular column.
@harishpaldhir5915
@harishpaldhir5915 6 жыл бұрын
By watching ur video i think acha din aa raha hai sir ji 😇😇😇😇
@ExcelDestination
@ExcelDestination 6 жыл бұрын
I really appreciate your comment!
@shyamsahaji5333
@shyamsahaji5333 6 жыл бұрын
Hello Sir, Very nicely explained about the VBA Code & very easy to grab it, pls keep up the good work, we learn from you a lot.
@ExcelDestination
@ExcelDestination 6 жыл бұрын
Thanks a lot for your great words!
@shyamsahaji5333
@shyamsahaji5333 6 жыл бұрын
Excel Destination I was trying to add your formulas in my task but am getting an error, don't know how to proceed, pls advise.
@shyamsahaji5333
@shyamsahaji5333 6 жыл бұрын
I need your help in filling an Excel spreadsheet, where am trying to put your formula & it comes as Run time error, pls advise.
@che10n
@che10n 7 жыл бұрын
great work ...thank you so much , it makes data visibility so easy
@ExcelDestination
@ExcelDestination 7 жыл бұрын
Thank you for watching!
@NgocNguyen-gf8wg
@NgocNguyen-gf8wg Жыл бұрын
Thanks bro. Your vid is very useful for beginner like me!
@raymondsolomon2546
@raymondsolomon2546 4 жыл бұрын
It was surprisingly difficult to find anything else with this information here. This was very helpful to me for my little project at home. Thanks!
@Philip-dy3ww
@Philip-dy3ww 3 жыл бұрын
Hey man! Exactly my thoughts haha
@jlpayne052710
@jlpayne052710 3 жыл бұрын
Right this can't be such a rare task....
@aliyaghouri2234
@aliyaghouri2234 Жыл бұрын
@@Philip-dy3ww .1
@AbdulAhad-fv8xd
@AbdulAhad-fv8xd Жыл бұрын
​@@jlpayne052710 😊9😅o😊 poop ooh 😮 9😊😅o😊 of l😅😅😅
@humaali2968
@humaali2968 10 ай бұрын
​@@Philip-dy3wwu
@chairz00
@chairz00 6 жыл бұрын
Is there a way to also make the button do sheet3,sheet4, and sheet5 for East,West, and South all at the same time?
@davidgallant4245
@davidgallant4245 5 жыл бұрын
Create additional for loops for each parameter you wish to evaluate.
@Ayappasvamisongs
@Ayappasvamisongs 6 жыл бұрын
I need small changes on this, how can I select requred columns on this code, please help me Ex out of 10 columns I need only 3 columns.
@philipoconnor7891
@philipoconnor7891 5 жыл бұрын
Hi Ayappa. Did you ever get an answer to your question. I have same question so wondering if you got an answer
@carinaoscarsson8757
@carinaoscarsson8757 5 жыл бұрын
Philip o'connor have any of you managed to solve this?
@josephelkoury3689
@josephelkoury3689 5 жыл бұрын
@@carinaoscarsson8757 I have the same issue, I do not need all columns, just select
@MrValiantAP6
@MrValiantAP6 5 жыл бұрын
Similar question. I have various sample test results in a complex spreadsheet. Individual samples and corresponding results are listed in rows. In column A is the sample identifier code plus date and time (24hr). Columns B to Z have results. I only need to paste the results into another sheet (Lab Report, several pages worth) which is pre formatted. Cheers
@roxannesickles5183
@roxannesickles5183 6 жыл бұрын
How do you get it to copy to second page just adding to the bottom row and not copying it all over again? Is it an offset, or +1 row code??? Much needed help.
@car362
@car362 3 жыл бұрын
Kinda late but did you ever find a solution to this?
@MUKESHVERMA001
@MUKESHVERMA001 4 жыл бұрын
Thank you very uch. Is very interesting. I have separate workbooks for different accounts being handled by me. The data there is having conditional formatting showing cells in red colour if the due date is past, in green if the due date was two days ago to days in future and yellow if it is mor than 2 days in future. These workbooks have multiple sheets with similar formatting. I want to have a dashboard of specific rows that contains even a single green cell. I also need to copy the name of the workbook in a column before the cells from other workbooks are copied. Please help me.
@khalidbaba-js2lx
@khalidbaba-js2lx 3 ай бұрын
😅是0?0 000啊0哦0哈0ㄛ
@marleenorris9893
@marleenorris9893 6 жыл бұрын
What would the code be if I wanted to paste value vs. "activate.paste"? The usual "PasteSpecial Paste:=xlPasteValues" keeps giving me an error.
@AamirSaeedTajalli
@AamirSaeedTajalli 5 жыл бұрын
Simple and perfect. Thanks
@rojasai5134
@rojasai5134 5 жыл бұрын
Hi do we have any macro which runs for entire column in excel
@akashmalik8213
@akashmalik8213 6 жыл бұрын
Dear Sir, Thanks for this very important video, However I need your help in the way that when i apply this formula, the data in other coloumns in the copied rows gets deleted, how can I just ensure that I copy only those coloumns where data is present in the Sheet 1 instead of all the coloumns Thanks
@melanieanne1125
@melanieanne1125 5 жыл бұрын
How can I have the IF statement copy based on a range of values? I need to select all lines that are within a text range.
@vanessaroxo7287
@vanessaroxo7287 6 жыл бұрын
I am encountering the same problem as Stephen O'Reilly below. " it's been a great help in getting me started but I need some additional help please? I want the data to be copied from a master sheet to a number of other sheets in the same workbook. The problem is that each time I click the button to copy the data it copies all the date over and over again. I would like it to only copy the latest line item to be added. Please can you give me some help on this?"
@fleerwinwin1260
@fleerwinwin1260 6 жыл бұрын
Hi Sir good day. I came up with an issue that I want to copy and paste the rows with certain criteria which is not readily stored in the column. Say I need to break down the start and end dates into individually respective months ie feb 4 to May 15 as feb 4 to feb 28 mar 1 to mar 31 apr 1 and apr 30 etc without affecting other columns and populate them onto another spreadsheet. How can I achieve this plz?
@JohnDoe-vf9rh
@JohnDoe-vf9rh 3 жыл бұрын
Is it possible to string together multiple command buttons into one? Also to stop it from copy pasting if it is a duplicate? Multiple command buttons say if I want to copy past from a master list to assign to a sales reps sheet, but I have multiple sales rep sheets.
@ryanbarrera2595
@ryanbarrera2595 6 жыл бұрын
Very nice tutorial..shore and simple..detailed..keep it up Sir..
@erlanggahetty6694
@erlanggahetty6694 4 ай бұрын
😢😢😂😂😂😮😮😅😊😊
@DrivetoSuccess13
@DrivetoSuccess13 6 жыл бұрын
Hi, how to delete the rows when finished copying ? please help. Thanks
@ranshi4441
@ranshi4441 6 жыл бұрын
Thank you so much for this video!!! Just in my case, I need to automatically generate different sheets for certain conditions, let's say in this case need to generate four sheets for East, West, South, North, can you tell me how to change the code? Or the only way is to make each condition a separate button?
@yashc2676
@yashc2676 3 жыл бұрын
Can I give two column conditions? If I have two columns stating North, for example you gave.
@erindundas4788
@erindundas4788 3 жыл бұрын
Is there a way to edit the code to avoid duplicating entries, in case you add new data to the main sheet and want to copy it to the other sheet without also recopying and pasting the old data that was already copied to the other sheet?
@ExcelDestination
@ExcelDestination 3 жыл бұрын
there is a specific tutorial for VBA Code to prevent duplicate entries. Please watch that at following link : kzfaq.info/get/bejne/r7aFdttqrbq6pqM.html
@pj12345uk
@pj12345uk 6 жыл бұрын
Great video, I have a sheet imported from another program where the columns change constantly depending on the data. I would like to look for a certain column header, and if it exists, copy that whole column to another sheet, can you think of a way to do this?
@ExcelDestination
@ExcelDestination 6 жыл бұрын
Thank you for your appreciation....I have already uploaded one tutorial for similar requirement....you can watch at kzfaq.info/get/bejne/lZiYZaWm387Hlmg.html Please share your feedback and don't forget to subscribe...thanks again
@rfrost8551
@rfrost8551 4 жыл бұрын
Thanks! Great video - useful and easy to follow steps. Is it possible to transfer only certain columns when "North" criteria is met? Or would you recommend I have a working-tab, whereby the data is pasted into it and then another macro removes the columns, before repeating the first process, albeit from a different sheet. Thanks in advance.
@ExcelDestination
@ExcelDestination 4 жыл бұрын
Thanks for watching! You can take help from another tutorial for creating specific range to copy only specific columns for each row. Link is : kzfaq.info/get/bejne/bMuUqdCUqNynm3U.html
@nutraceuticalsorgen842
@nutraceuticalsorgen842 2 жыл бұрын
Ii0
@nutraceuticalsorgen842
@nutraceuticalsorgen842 2 жыл бұрын
2🦄☺️🙂
@bengjuiwong447
@bengjuiwong447 6 жыл бұрын
Hi, thanks for the video. Is there any way that I can apply the above code with the added condition of only copying and pasting over new rows? How can I modify your code to achieve that? Thanks.
@ExcelDestination
@ExcelDestination 6 жыл бұрын
Thanks for watching! put your efforts...if it doesn't help send me your file at EXCELDESTINATION@GMAIL.COM AND explain the requirement...thanks again, EXCELDESTINATION
@hollywoodmoviesinhindi215
@hollywoodmoviesinhindi215 6 жыл бұрын
Can you tell me please how to paste special row in which i wish to only paste value without formula.Please tell me?????
@tonibisdak1358
@tonibisdak1358 3 жыл бұрын
You are so great. Appreciate this very much. Sail on.
@ExcelDestination
@ExcelDestination 3 жыл бұрын
Thank you kindly!
@someshkumarkuanr4498
@someshkumarkuanr4498 4 жыл бұрын
If we wants to do the same between two different workbooks rather than two worksheets in single workbook, can you please help. It would be a great help if you could help me here by providing code for this. Example: I have two workbook called workbook1 and workbook2. I want to copy rows if condition is met from workbook1 and paste it in workbook2. Thanks
@99445deva
@99445deva 2 жыл бұрын
Exactly what i was looking for sir. Thank you so much.
@ExcelDestination
@ExcelDestination 2 жыл бұрын
You are most welcome
@99445deva
@99445deva 2 жыл бұрын
@@ExcelDestination Sir i there any way to find top 10 largest value in a column and copy the corresponding row value to another sheet???
@user-nw6hc8vn4z
@user-nw6hc8vn4z Жыл бұрын
, 3$64* & -'&_60$c, yd3
@milkway731
@milkway731 5 жыл бұрын
what if i want to just copy conlum b to another sheet from c12?
@vinaynimje97
@vinaynimje97 4 жыл бұрын
Sir I m following your channel since long. I have learnt a lot. Thank U . I have one question .. i want to update data if condition met i.e. ID, If ID Exists data should be updated but if ID doesn't exist the data should be save in last row of database. Kindly help.
@sachin0200
@sachin0200 3 жыл бұрын
hi sir, super concept, i have doubt, if any possible to copy specific rows based on emp id eg: i want copy the data emp id like 1002, 1005, 1008 to another sheet (not based on region, salary) using textbox or any other method..kindly reply sir...
@rajeshkumarsindhu
@rajeshkumarsindhu 5 жыл бұрын
when i select a data from drop down list on the sheet 1 at the same time the related data from sheet no 3 to be saved in sheet no2
@ExcelDestination
@ExcelDestination 5 жыл бұрын
Thanks Rajesh for watching! I would suggest...you can additionally use the event programming for your list.
@mikemeschi6501
@mikemeschi6501 4 жыл бұрын
Short and concise- plain English Keep up the good work.
@joannetang5298
@joannetang5298 5 жыл бұрын
Is there anyway to this exact action on a new workbook? I keep trying and for some reason it is only pasting one row. When i do it on a new worksheet it works completely fine. Anyone able to help me?
@cassugbene6708
@cassugbene6708 5 жыл бұрын
I am new to VBA and trying to do a similar code. basically, I want to search for an exact word in the column and then copy the rows to another worksheet. Is this something you can help me with, please?
@selfdirectx4934
@selfdirectx4934 2 жыл бұрын
You're awesome! Thank you for this.
@ExcelDestination
@ExcelDestination 2 жыл бұрын
Welcome
@hayeirieslafamilia2954
@hayeirieslafamilia2954 Жыл бұрын
THIS IS WHAT IWANT!! AMAZING 🥰🥰🥰
@ExcelDestination
@ExcelDestination Жыл бұрын
Thanks
@tannertucker22
@tannertucker22 4 жыл бұрын
Always excellent. Do you have any advice on updating code when inserting adding and deleting columns? Is there a way to make the cell / range references dynamic in the code? Thank you
@AbdullahKhan-sr1bn
@AbdullahKhan-sr1bn 2 жыл бұрын
ILllo
@mahendranmurugavel5805
@mahendranmurugavel5805 3 жыл бұрын
how to paste the range in rows eg:D1:J1, i am getting it pasted in columns eg D1:D10
@akshatamali677
@akshatamali677 3 жыл бұрын
Hi! Video is excellent and very helpful however, I have one doubt. I have multiple keywords and I have written multiple codes like the same code sheet. Now I want a line of code to be added in this code in such a way that after executing one code it should automatically add an entire row after the last filled row and then take next set of code and apply till last. I tried it many ways but I am not able to get it. Please help me out.
@hunterboy18
@hunterboy18 Жыл бұрын
La me
@makhendla
@makhendla 5 жыл бұрын
Thank you my man for simplifying this, you explained it a manner that totally makes it easy to understand. Bravo!
@user-bf2sk5zl5t
@user-bf2sk5zl5t 2 жыл бұрын
22صصصصص3ڪ
@user-yt9qr8pn9i
@user-yt9qr8pn9i 8 ай бұрын
​@@user-bf2sk5zl5tهنن ٨٠ج٠❤🎉دَ٠٠ ر و.
@UTubeYing
@UTubeYing 6 жыл бұрын
Hi Thanks for the video. Could you please help to demonstrate, how to create bar-code printing label(lay out) using excel. in my case, my table consist of Product name, Product ID, Price and Quantity that I need to print.
@szeccc5736
@szeccc5736 5 жыл бұрын
Thank you very much, heartfuly . It works!!!
@ExcelDestination
@ExcelDestination 5 жыл бұрын
Thanks SZETO for your appreciation...please share it further...thanks
@jiahaowang5112
@jiahaowang5112 5 жыл бұрын
Hi, does anyone know how can i copy cells instead of the entire row? I just need 3/4 cells in the row to be copied over. Also is there a way for me to start copying to the 10th row in another worksheet.
@abdullahquhtani8058
@abdullahquhtani8058 5 жыл бұрын
What if there are multiple tables in a sheet separated by texts. How can those tables (only tables) copied or cut and paste-special (without formatting) in another sheet?!
@edytasokolowska3299
@edytasokolowska3299 6 жыл бұрын
nice tutorial, can you please tell me how would you make it dynamic so it automatically copy rows without running macro again also how to avoid duplication, so copying the same rows again?I would appreciate your help
@juanpablopenaloza5093
@juanpablopenaloza5093 5 жыл бұрын
Hello, I had this problem as well. For now, I have created another button to erase duplicates from the second Sheet. Hope that helps.
@traypas6289
@traypas6289 5 жыл бұрын
@@juanpablopenaloza5093 Can you post the VBA for this? Thanks so much!!!
@rookuu4
@rookuu4 4 жыл бұрын
Nice tutorial, keep it up! ~^^~
@vikasdhakar8122
@vikasdhakar8122 6 жыл бұрын
THis Code is helpful for small data, in large database this code is time cansuming, can you suggest code for less time same purpose.
@radu_sirbu
@radu_sirbu 5 жыл бұрын
use Data ->Filter Record a macro and get the code
@rishigoyal2518
@rishigoyal2518 3 жыл бұрын
Very informative. Thanks for this.
@ExcelDestination
@ExcelDestination 3 жыл бұрын
Glad it was helpful!
@pawjeppesen-ifttttricks605
@pawjeppesen-ifttttricks605 5 жыл бұрын
Works like a charm :) Can you please, tell me how to delete the empty rows that are left behind? and how just to delete a row containing a specific word? Thx
@ExcelDestination
@ExcelDestination 5 жыл бұрын
Thank you so much....you can take help for your requirement from one of my other tutorial kzfaq.info/get/bejne/f9WAqdGTy9WVmWg.html please share my channel further and don't forget to subscribe :
@saurabh62066
@saurabh62066 3 жыл бұрын
Hi, very well explained. Could you please tell what needs to be done if we want to copy the row which met the condition and insert a new row below and paste it there?
@ExcelDestination
@ExcelDestination 3 жыл бұрын
You can take help from following tutorial : kzfaq.info/get/bejne/lZ6gn5Ogt8jYXYk.html
@pratibhapathak8153
@pratibhapathak8153 2 жыл бұрын
Sir I want to know that if new data is added in sheet1 then whatever new data met condition that will be merge into another sheet ,,instead of the whole (including new data) data should be added into the sheet2...sir kindly tell me.
@freestyledog3305
@freestyledog3305 6 жыл бұрын
Thank you very well explained
@saikumar7903
@saikumar7903 3 жыл бұрын
Hi it was great , you made it simple & easy.... i would like to know how to move the updated data from the sheet 1 to sheet 2, i want to move only the the data added newly to sheet
@bik640
@bik640 3 жыл бұрын
Thank you :) it works good :D
@ExcelDestination
@ExcelDestination 3 жыл бұрын
You're welcome!
@javalearner4227
@javalearner4227 5 жыл бұрын
Hello, folks! is there any way to compare cell value with multiple string values. in the following line. if Worksheets("RawData").Cells(i,3).Value = " Person1" Then
@shoyheb
@shoyheb 7 жыл бұрын
Hi Chetan, Great information. Thanks for this. I have a query that I have two sheets Sheet-1 with column A,B,C,D and sheet-2 with column A,B,C,D and whenever I am writing a name in Column A of sheet-1 then it should auto-populate the value in column C as it is available on Sheet-2. For Ex. If in sheet-2 the data is available like for column C,D as Name and Age, name = John has age = 10, name = Peter has age =12 . Then when I am going to write a name John in sheet-1 then it should auto-populate the age in column D. I want to write a macro for this. Can you please help with this? Thanks.
@user-lc2zd9mx1v
@user-lc2zd9mx1v Жыл бұрын
مدددكممخخخت هتعمل مرحبا
@poojask6166
@poojask6166 6 жыл бұрын
Thank you so much! It's a great one
@ExcelDestination
@ExcelDestination 6 жыл бұрын
Thanks for your comment!
@snjaryb4586
@snjaryb4586 5 жыл бұрын
When I press the Button, the Macro works fine, but as soon as I save the worksheet the Data changes, how can I stop it from doing that?
@user_mouyad59
@user_mouyad59 5 жыл бұрын
Thank u ,it’s so interest
@johnflory23
@johnflory23 5 жыл бұрын
i have something similar but instead of region i have codes in that and i want to move as per the codes in different sheets. I am not familiar with VBA Actually i am working on BOQ pages and with the help of the codes given besides the items want to transfer to different sheets (comparison) as per the codes (1-50). if you give me your e-mail i can send you the excel input and output what is required.
@Quoteminds5
@Quoteminds5 4 жыл бұрын
hello there , this is a very useful video , but one small thing , if u added new data to the original sheet , and then press command button , it takes all data specified even the already copied ones before , is there any formula to copy only the new rows entered
@ExcelDestination
@ExcelDestination 4 жыл бұрын
you can add some more vba code to prevent duplicate. check this : kzfaq.info/get/bejne/r7aFdttqrbq6pqM.html
@bibekmanandhar2818
@bibekmanandhar2818 6 жыл бұрын
Can i use this code many times or not like 100 times over 100 sheets
@Dfense777
@Dfense777 6 жыл бұрын
1.000.0000.0000.0000 Thanks to You!! You solve my problem ;)
@ulittlewonderu
@ulittlewonderu 6 жыл бұрын
You are a lifesaver! Thank you so much for this.
@tambolisadik
@tambolisadik 6 жыл бұрын
I want VBA code for copy past data from sheet 1 to another sheet Condition is .. If column c have 0,00 and E column have bank value then I want to copy this to another sheet and delete this rows (clt - ) and column E 00 and column c for blank copy past in another sheet and again delete this rows
@2006glg
@2006glg 5 жыл бұрын
Great video. Thank you very much. I plan to use this at work next week to save tons of time.
@mikeblubaugh2576
@mikeblubaugh2576 5 жыл бұрын
If you push the button twice it just copies everything again. Is there a way to replace the data that's already been copied over to sheet2 or not copy data that's already been copied?
@car362
@car362 3 жыл бұрын
Did you ever find a solution to this?
How to make your Excel VBA code run 1000 times faster
16:55
Excel Macro Mastery
Рет қаралды 358 М.
Excel VBA: Copy Data Between ANY Two Sheets
12:56
Excel Macro Mastery
Рет қаралды 118 М.
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 41 МЛН
New model rc bird unboxing and testing
00:10
Ruhul Shorts
Рет қаралды 23 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 52 МЛН
Excel VBA Code to Copy Paste if Multiple Conditions are Met
11:31
Excel Destination
Рет қаралды 57 М.
EASILY Make an Automated Data Entry Form in Excel
14:52
Kenji Explains
Рет қаралды 409 М.
Most important tools in Excel -  Malayalam Tutorial
17:04
XL n CAD Malayalam
Рет қаралды 659 М.
VBA Advanced Filter - The FASTEST way to Copy and Filter Data
18:33
Excel Macro Mastery
Рет қаралды 277 М.
EAF #37 - Excel VBA Loop to Find Records Matching Search Criteria
11:35
ExcelTricksforSports
Рет қаралды 395 М.
Excel VBA To Copy Data From One Sheet To Another (BEGINNER TO PRO!)
11:46
Tiger Spreadsheet Solutions
Рет қаралды 96 М.
VBA Macro to Copy Data to Another Workbook
10:30
Excel Destination
Рет қаралды 69 М.
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 41 МЛН