Any Way to Accomplish Task Faster?

NBAJAM97

New Member
Joined
Sep 8, 2014
Messages
3
I would like to have the data moved to the position as shown in the video. I was wondering if there was a faster way to get it moved without doing the copy and pasting shown in the video.

Any answers will be greatly appreciated! Thanks!

[video]https://www.dropbox.com/s/i8ykpkvjtfhyhzk/Fantasy%20Football%20Excel.mov?dl=0[/video]
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
give this a shot.. not tested. its an altered code I had lying around.

Code:
Sub fantasy()
 lstr = Cells(Rows.Count, 1).End(xlUp).Row
 For Each cell In Range("A1:A" & lstr)
    If cell.Value Like "#*" Then
        lstc = Cells(cell.Row, Columns.Count).End(xlToLeft).Column
        Range(Cells(cell.Row, 1), Cells(cell.Row, lstc)).Copy
        cell.Offset(-1, 1).PasteSpecial
        Range(Cells(cell.Row, 1), Cells(cell.Row, lstc)).ClearContents
    End If
 Next
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,323
Members
449,077
Latest member
jmsotelo

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