Macro to Pull & Re-Format data in excel.

Kenichi

New Member
Joined
Sep 17, 2009
Messages
30
I have a LOT of data that needs pulled from one format to another.

This is an excel file with a data sample and a sample result of what I want.

I understand this is a volunteer forum but I'm willing to pay/tip for a working macro.

The sample .xls is here: http://www.businessbees.com/files/XYZcoInstructions.xls

Thanks in advance :), it's a lot of values so I've no idea where to begin.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Looking at the workbook it seems that you want to take data from one sheet and then create a master list, is that correct? if so then look at this code. I am assuming the master will be in the same book. I have made an additional sheet to copy the data to first.

Sub copyrange()
Application.ScreenUpdating = False
With Sheets("Sample Result Take a copy") 'The following is a small sample
.Range("A2") = Sheets("Sample Data").Range("B6")
.Range("B2") = Sheets("Sample Data").Range("B7")
.Range("C2") = Sheets("Sample Data").Range("B8")
End With
Sheets("Sample Result Take a copy").Activate
Rows(2).EntireRow.Copy
Sheets("Sample result").Activate
Range("A1").Select
Do Until ActiveCell.Value = ""
ActiveCell.Offset(1, 0).Select
Loop
ActiveCell.PasteSpecial xlPasteValues
Sheets("Sample Result Take a copy").Activate
Rows(2).EntireRow.Delete

ActiveWorkbook.Save
Application.ScreenUpdating = True
MsgBox "Data Transfered OK", vbInformation, "Excel Sample"
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,828
Members
452,946
Latest member
JoseDavid

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