Excel VBA Programming Basics Tutorial # 12 | Finding next empty row with Offset and End function

preview_player
Показать описание

Offset Funtion
End Function

And using these functions we're going to learn how to go to the next or last non populated cell.
If this video was helpful to you , make sure to share it.

Thanks!!

Keywords
Excel vba
Excel vba tutorial
excel vba programming
excel vba tutorial for beginners
excel vba introduction part 1
advanced excel vba programming
vba excel programming tutorialvba excel programming tutorial
vba excel programming tutorial 2013
writing our first macro
Рекомендации по теме
Комментарии
Автор

Assalamu Alaikum brother ur videos are very good, I often watch for my use. I have a user form with command button tht enter data in worksheet but if I don't enter data in my textbox & I hit add data button it leaves blank row in my worksheet also & next time if I add data into textbox hit add data button the data comes below tht blank row. How can I avoid tht.

asadost
Автор

how to merge these 2 vba code to be one code

Range("c9:c20").Copy
Sheets("sheet2").Range("c" & Rows.Count).End(xlUp).Offset(1, 0).PasteSpecial xlPasteValues


Range("h9:h20").Copy
Sheets("sheet2").Range("i" & Rows.Count).End(xlUp).Offset(1, 0).PasteSpecial xlPasteValues

the problem is that i need to copy the range [ c9:c30 ] to column 3 & range [ h9:h30 ] to column 9

TORADOYA