Тёмный

Excel VBA Autofilter and Copy 

Marcus Small
Подписаться 2,2 тыс.
Просмотров 2,2 тыс.
50% 1

Copy data from one sheet to another using the Autofilter. Source file here
www.thesmallman.com/autofilter-on-multiple-conditions

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

 

26 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@instaone
@instaone 4 года назад
You are a great teacher, and I understand each word you said, please do not stop teaching people like me :)
@thesmallman
@thesmallman 4 года назад
What a genuinely lovely thing to say!!! In the world today it is so nice to hear and see kindness. Thank you ever so much - you made my day :)
@Ganesh-rr7ze
@Ganesh-rr7ze 3 года назад
Great explanation! Perfect!! Thanks
@thesmallman
@thesmallman 3 года назад
Glad it was helpful! Thank you.
@sandeepkothari5000
@sandeepkothari5000 4 года назад
Dear Marcus, Great video! Some suggestions: 1. You may want to automate the process of copying column headings too in sh(2), in stead of doing it manually - so, Offset fx may be deleted altogether; 2. Add CutCopyMode = false and CutCopyMode = True at appropriate places in the code; 3. Add ScreenUpdating = false and ScreenUpdating = True at appropriate places in the code; 4. Also do a video on Advance Filter. Thanks & stay safe.
@thesmallman
@thesmallman 4 года назад
Thanks for your comments. 1. I always set the other sheet up with the headers, it's my preference. Has the additional advantage of showing peeps how Offset works. 2. Why would you add CutCopyMode = False - by doing any further code after the Copy - the copy markers disappear. An additional line - zero value in my example. :)
@sandeepkothari5000
@sandeepkothari5000 4 года назад
@@thesmallman Thanks Marcus. This is not clear to me:"An additional line - zero value in my example. " Pl explain.
@thesmallman
@thesmallman 4 года назад
@@sandeepkothari5000 OK cool - let me regale you. What is the purpose of the CutCopyMode = false......... to turn off the copy mode that draws a dotted square around cells. In code if you copy and paste from one place to another, no square exists. [A1].Copy [B1] 'Produces no dotted square Try it. If you are pasting Special Values the square is there - however if you do anything else within VBA, the dotted square disappears and is extinguished from memory. So in conclusion the only time you would use CutCopyMode = false is when you are pasting special and it is the last line of code .... hence the copy square is deleted. Not remotely needed in my code as I am not pasting special - it is direct so no dotted square ever happens. It is a line of code that serves no purpose. Does that make sense?
@sandeepkothari5000
@sandeepkothari5000 4 года назад
@@thesmallman Yes, yes, this makes great sense. Thanks.
@thesmallman
@thesmallman 4 года назад
@@sandeepkothari5000 Awesome man. Feel free to write to me if you have any questions about Excel or VBA. My website is an absolute monster of a resource if you ever swing by! Take it easy. :)
Далее
Filter with Multiple Criteria Excel VBA
16:01
Просмотров 5 тыс.
Физика пасты Карбонара 🧪🔬
00:57
ДУБАЙСКАЯ ШОКОЛАДКА 🍫
00:55
Просмотров 2,1 млн
Страшная Тайна Светы Кемер !
33:04
VBA Tutorial 11:  Auto filter in Excel VBA
14:31
Просмотров 114 тыс.
Excel VBA Filter Range and Copy
12:34
Просмотров 11 тыс.
Better Worksheet References in VBA for Excel
19:12
Просмотров 10 тыс.
VBA Advanced Filter - Filter any Excel Database 2013
13:01
Compare Two Lists
22:08
Просмотров 784
Физика пасты Карбонара 🧪🔬
00:57