Copy/Paste

Shamsuddin M

New Member
Joined
Sep 26, 2022
Messages
6
Office Version
  1. 2013
Platform
  1. Windows
I am new to VBA someone please help me ,
My data Range is ("A2:H17"), this may vary, I mean the row will sometimes till H16, some times H3, etc.,
Coloumn "E" is always with some value(some name)
I want to copy only the populated rows and paste it in next sheet.
when I tried to do it with a macro recording, it is copying the entire range ("A2:H17") and pasting it in the next sheet. with lots of blank rows in each time.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
details_Page_1.jpg
details_Page_2.jpg

Thanks in advance
 
Upvote 0
I would suggest post your recorded macro here along with a sample data and explain what exactly you want to get from VBA.

This makes convenient for anyone who wants to help you.
Sir, thanks in advance.
Here I have attached the details
 

Attachments

  • details_Page_1.jpg
    details_Page_1.jpg
    113.4 KB · Views: 3
  • details_Page_2.jpg
    details_Page_2.jpg
    133 KB · Views: 2
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,691
Members
448,978
Latest member
rrauni

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top