Excel 2010 - copy filled in cells
Closed
Chris
-
May 10, 2012 at 09:36 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - May 10, 2012 at 10:10 AM
TrowaD Posts 2921 Registration date Sunday September 12, 2010 Status Moderator Last seen December 27, 2022 - May 10, 2012 at 10:10 AM
Related:
- Excel 2010 - copy filled in cells
- Microsoft office 2010 free download - Download - Office suites
- Pdf and xps add in 2010 - Download - Other
- Microsoft publisher 2010 free download - Download - Publishing
- Number to words in excel - Guide
- Gif in excel - Guide
1 response
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
May 10, 2012 at 10:10 AM
May 10, 2012 at 10:10 AM
Hi Chris,
So you would like to check a specific range for data. When data is found copy each cell to a single column on another sheet. If this is true then the following should work for you:
Best regards,
Trowa
So you would like to check a specific range for data. When data is found copy each cell to a single column on another sheet. If this is true then the following should work for you:
Sub MoveData() For Each cell In Sheets("Sheet1").Range("A2:C10") If cell.Value <> vbNullString Then cell.Copy _ Destination:=Sheets("Sheet2").Range("A" & Rows.Count).End(xlUp).Offset(1, 0) Next cell End Sub
Best regards,
Trowa