VBA for Dynamic Range by Row and Column

preview_player
Показать описание
This Excel VBA Tutorial explains, how to select, copy and paste
range by using row and column numbers. It explains how to search
value in large data on different sheet and if it is found then
copy vba range with row and column numbers and paste to another sheet. Sometimes, we don't want to copy entire row for matching value and we want to copy only specific range then this example explains easy vba code for selecting range using row and column number.
Рекомендации по теме
Комментарии
Автор

Excellent Video, I have solved my problem by seeing this. Just awesome ❤❤❤

md.saifulislam
Автор

You are an amazing I've been working on something like this for over a day. The use of rng1 & rng2 with the "my_range" formula is EXACTLY what I was looking THANK YOU SO MUCH!!!!

nsanerydah
Автор

Thank you so much!! I been working all day long trying to find something like this :)

russo
Автор

Sir, what will happen if the product id is available in more than 2 rows ? Will all data copied to sheet 2? 24-07-2020

karunanithir
Автор

Can you help me with the code when I am trying to look for more than one value in the loop? I am looking for values Sheet 2 row E (rows 2-1082) in the entire row (A) from Sheet 1 and pasting all row values containing the values in sheet 2. I'm struggling with the loop

jennaadams
Автор

How if i don't want to define the source value cell (Product ID) but have excel search for the column with "Product ID" header(no case match) and then use that column and its rows till end to lookup all the values and return results? And also do the same for the destination range (Find the column by "Jun" "Jul" etc...)

bikramsingh
Автор

13:05 your row number is dynamic... your column is not. How can this be done with all data on the same row, but a dynamic column range?

mohamadmagic
Автор

sir how to select workbook last sheet activite

sureshjogi
Автор

Great Video, but if i want to copy many rows with Product ID 1005 not only one how to do it please ?

Ramzyar
Автор

far cry for parctical problem ?? where in earth you know your sheet size ??

bharatgupta
Автор

Sir, if range of rows need to be selected instead of range of columns, then what is the formula? Forexample, instead of G10 to L10, I want to select C20 to C30, please help me in this regard.
Thank you

shareef
Автор

Great work sir, will u give me ur mail id plz, I won't to send u a Excel file for such type of problem, Thank u.

nileshgosavi