Created
December 25, 2017 10:53
-
-
Save ganesh092929/2adc260a487d00439f8a562e8835fe7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub Sheet2RowValues() | |
Dim wb As Workbook | |
Dim ws2 As Worksheet | |
Set wb = ThisWorkbook | |
Set ws2 = wb.Sheets("Sheet2") | |
lastRow = ws2.Cells(Rows.Count, 1).End(xlUp).Row | |
For i = 1 To lastRow | |
Debug.Print ws2.Cells(i, 1).Value | |
Next i | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment