VBA to copy data and formatting but also have that its only for certain rows

Ajax40

New Member
Joined
Apr 19, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi
Im new to the Board. I have a spreadsheet that contains alot of rows of data. But i Only want certain rows to go to the new sheet with the data and formatting included
Thanks!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
what kind of data and formatting you want to get?
 
Upvote 0
Hi
Its a mix of text and numbers based on date. I have attached an image of example. I want to say move rows 2 and 4 with formatting into sheet 2 from sheet 1. The sheet I have has multiple rows but I only want the data and formatting from select rows. Also the ability for this to auto update would be great rather than cutting and pasting everything over
 

Attachments

  • Test.jpg
    Test.jpg
    18.6 KB · Views: 3
Upvote 0
so that you want is copy all the rows you selected (with value and formatting) to another sheet?
 
Upvote 0

Forum statistics

Threads
1,215,326
Messages
6,124,270
Members
449,149
Latest member
mwdbActuary

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