Тёмный

Excel VBA Code to Copy Paste if Multiple Conditions are Met 

Excel Destination
Подписаться 46 тыс.
Просмотров 59 тыс.
50% 1

Опубликовано:

 

26 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@1112GT
@1112GT Год назад
Concept and application are explained very well. Thanks
@ExcelDestination
@ExcelDestination Год назад
You are welcome😊
@meledward2325
@meledward2325 4 года назад
Thanks, I was able to adapt this to meet my needs.
@ExcelDestination
@ExcelDestination 4 года назад
Excellent!
@sankarsandash1318
@sankarsandash1318 2 года назад
Good programming. Lot of learning
@sureshsomaiya3820
@sureshsomaiya3820 4 года назад
Thanks very much I am learning vba. This type of code very helpful Onceagain.. Thanks
@ExcelDestination
@ExcelDestination 4 года назад
You are welcome!
@rakshithabharadwaj6935
@rakshithabharadwaj6935 3 года назад
Sir, this is very helpful. You have used I=2 to 20. Please explain how to loop untill last available data in the sheet to check the condition.
@ashishmohan4707
@ashishmohan4707 4 года назад
Hi very useful video and very practical need everyone for every project ......very big thanks to share with us. If it can possible can you plzz provide us excel data file which you used. Very greatful for us...👌👌👌👌👌👌👌👌💐💐💐💐🎂🎂🎂🎂🎂🎂🎂🎂🎂🎂🎂🎂
@wirechair
@wirechair 3 года назад
thank youfor this Sir!
@ExcelDestination
@ExcelDestination 3 года назад
welcom
@joypain4708
@joypain4708 3 года назад
Thanks but I have a question. I have made the exact code and the data as in your vid. And everything works fine. But as soon as I copy my own data in one of the columns (and of course change it in the code for the right search text), it doesn't work anymore! Can you please tell me why? I found out that by TYPING the data instead of copying it, it does work (to much data to type). Why? Thank you and awesome vid.
@maxchung2419
@maxchung2419 4 года назад
You can use the “ if (condition a and condition b) and condition c then
@boogachap9022
@boogachap9022 3 года назад
Thank you! Very informative. How would you cut and paste - in the case that you are cleaning up data?
@ExcelDestination
@ExcelDestination 3 года назад
I have uploaded a tutorial for cut and paste. you can watch that at following link : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-uQSDNhtcqSI.html
@boogachap9022
@boogachap9022 3 года назад
@@ExcelDestination Thank you very much. I will check this out.
@nadermounir8228
@nadermounir8228 4 года назад
This is helpful. Thank you very much. Quick question: what is the purpose of wiring application.cutcopy mode = false. What is this for? Also the following code to activate the destination sheet? Isn't already activated when the data was pasted ?
@ExcelDestination
@ExcelDestination 4 года назад
Good question! cutcopy mode = false is to avoid showing lining (when we manually copy, we can see this). You can try to delete cutcopy=false and activated code and see......what happens. Please share your experience also.
@samihakhenaka3845
@samihakhenaka3845 3 года назад
Thanks for this tutorial very helpful. but I have a question : in my case i want to copy and past cells applying conditions in both columns and cells ==> this means that i don't want have a fixed colnames ( colnames will depend on a specific row values) how can i do this please ??
@s.revathy9885
@s.revathy9885 3 года назад
I need vba code for multiple columns met the status yes and move the row in different sheets
@MohAboAbdo
@MohAboAbdo 4 года назад
Thank You So Mutch, Sir.
@دراساتاجتماعية-ز9ل
Thank you very much ... is it possible to convert the range into a table and how can it be handled?
@ExcelDestination
@ExcelDestination 4 года назад
yes, it is possible. let me create a tutorial for this.
@دراساتاجتماعية-ز9ل
@@ExcelDestination Thank you very much
@imtiyazibrahim4193
@imtiyazibrahim4193 3 месяца назад
sir, I have sheet : Cell A1 contain date and B1 contain Value, In sheet2 : CellA1 to A30 contain date, I need copy/move/paste the Value B1(from sheet1) to its respective date in sheet2 Please advice
@mavalswadh
@mavalswadh Год назад
Hello , code is good but i want to give if else condition meet than it should copy in worksheet 3
@jusephwinclic165
@jusephwinclic165 4 года назад
okay that's amazing but if some change happen on the first sheet edite data its not updated the other sheet or deleted
@manojrajwade5656
@manojrajwade5656 3 года назад
Hi , what condition to use if we have to keep few cells blank in upper rows , say (cell C2)
@ReddiNaidu-x7u
@ReddiNaidu-x7u 11 месяцев назад
what is vba code for copy paste and cut paste based on cell value from master sheet to another respective sheets.
@vamanshenoy938
@vamanshenoy938 2 года назад
I want to copy only two column values. In that case what should be the vba code
@TheTraveler2222
@TheTraveler2222 8 месяцев назад
why is it "i" in "I=2 to 20"? Does "i" = row?
@kumarsandy2008
@kumarsandy2008 3 года назад
Hello, This is helpful but what if we need to put a filter on to that fields and as per the different items given in the column 2 of source data, would be copied separately as per the different items on different sheets as per the items name of the sheet. Could you please help onto that?
@wongpeggy4363
@wongpeggy4363 4 года назад
Dear sirs. But what if I have multiple worksheet?
@srimana7778
@srimana7778 3 года назад
Please tell me how to sort data after adding to destination
@sindarl01
@sindarl01 3 года назад
Hi.. thanks for the video.. can you pls explain, if i only need to copy data in column A and B, with multiple condition from column C and D? Thanks
@gwyndylzhykhyzje.sumalde2865
@gwyndylzhykhyzje.sumalde2865 4 года назад
hello. im having trouble of VBA for my excel. how may I contact you for this concern if you agree to help me. thank you
@ExcelDestination
@ExcelDestination 4 года назад
We are a freelancing team. We can work on any Excel VBA Development project. You can send your requirement at Exceldestination@gmail.com
@svlogappachansvlog1449
@svlogappachansvlog1449 4 года назад
How can i do this fully automatically ?? Its mean when i added a new data in master sheet , how can it show second sheet without any action. Is possible??
@ExcelDestination
@ExcelDestination 4 года назад
You can use this code at event programming at SelectionChange event.
@svlogappachansvlog1449
@svlogappachansvlog1449 4 года назад
@@ExcelDestination thank you so much , i was waiting for your reply
@bluewhiteconstructions5400
@bluewhiteconstructions5400 4 года назад
Awesome
@mavalswadh
@mavalswadh Год назад
My code requirement is same but just i want to apply search in one column itself
@rose78692
@rose78692 4 года назад
Please explain about If we want from date to date Data to be show on another sheet
@ExcelDestination
@ExcelDestination 4 года назад
ok. let me create another tutorial for that
@clementlo8542
@clementlo8542 4 года назад
Hi there , how do i set a colored cell if the conditions are met ?
@ExcelDestination
@ExcelDestination 4 года назад
Please check following tutorial for that : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-F29G18GdTAQ.html
@clementlo8542
@clementlo8542 4 года назад
@@ExcelDestination thank you for sharing that youtube video , it really help with my understanding of VBA coding. I just have one last query, i have used your code "If Worksheets("Source Data").Cells(i, 2).Value < Date Or Worksheets("Source Data").Cells(i, 3).Value < Date Then " with an OR statement to loop different columns . I am trying to highlight the cells which meet the given conditions. I tried using this code "Cells(i, 2).Font.Color = vbRed after the code, but I think it only applies to one condition. Do you have any suggestion how I can loop through the columns of cells and highlight the cells when it meets the given condition? Yoiur help is much appreciated
@sridevikumari5435
@sridevikumari5435 4 года назад
Hi Sir, I ve a doubt in extracting data from Chrome browser... Could you pls help me on that.. I ve opened chrome thru shellexecute bcoz that is the only option I ve to open in chrome.. After that how to assign that window as object to extract data
@ExcelDestination
@ExcelDestination 4 года назад
I am not sure
@sridevikumari5435
@sridevikumari5435 4 года назад
@@ExcelDestination ok thank you
@nunuji501
@nunuji501 4 года назад
Hi I want to convert each column's excel data to separate text file. Can you please help to do this.
@ExcelDestination
@ExcelDestination 4 года назад
please send email at exceldestination@gmail.com for any excel vba requirement
@keithmcgee1253
@keithmcgee1253 2 месяца назад
Why isn’t this working for me. I’m pulling incorrect data 🤔
@xavierfernandes9683
@xavierfernandes9683 3 года назад
Hi I want to copy paste certain data from txt file to excel plz help
@ExcelDestination
@ExcelDestination 3 года назад
for any excel vba project, you can write to exceldestination@gmail.com
@pranavptulshyan4374
@pranavptulshyan4374 4 года назад
Please also share the files used in the Video...!!!
@rrrraaaacccc80
@rrrraaaacccc80 3 года назад
👍
@ExcelDestination
@ExcelDestination 3 года назад
thanks
Далее
новое испытание
00:40
Просмотров 265 тыс.
Excel VBA: Copy Data Between ANY Two Sheets
12:56
Просмотров 122 тыс.
Extract Data from One Sheet to Another Using Excel VBA
8:37
VBA to BROWSE & COPY Data from SELECTED File in Excel
10:00
VBA Macro to Copy Data from Another Workbook in Excel
13:39
EASILY Make an Automated Data Entry Form in Excel
14:52
How to Combine Multiple Excel Files using VBA
19:06
Просмотров 34 тыс.