Macro needed as soon as possible
Closed
smith
-
Feb 11, 2010 at 04:49 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Feb 11, 2010 at 05:12 PM
rizvisa1 Posts 4478 Registration date Thursday January 28, 2010 Status Contributor Last seen May 5, 2022 - Feb 11, 2010 at 05:12 PM
Related:
- Macro needed as soon as possible
- Spell number in excel without macro - Guide
- Macro excel download - Download - Spreadsheets
- Excel macro to create new sheet based on value in cells - Guide
- Run macro on opening workbook - Guide
- Excel vba assign macro to button programmatically - Guide
1 response
rizvisa1
Posts
4478
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
May 5, 2022
766
Feb 11, 2010 at 05:12 PM
Feb 11, 2010 at 05:12 PM
Try this
Sub splitMe()
Dim lastRow As Long
Dim myRow As Long
lastRow = Cells(65536, 1).End(xlUp).Row
For myRow = 5 To lastRow Step 5
Cells(myRow, 1).Select
Selection.TextToColumns DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, _
ConsecutiveDelimiter:=True, _
Tab:=True, _
Semicolon:=False, _
Comma:=False, _
Space:=True, _
Other:=False, _
TrailingMinusNumbers:=True
Next
End Sub
Feed back will be good.
Sub splitMe()
Dim lastRow As Long
Dim myRow As Long
lastRow = Cells(65536, 1).End(xlUp).Row
For myRow = 5 To lastRow Step 5
Cells(myRow, 1).Select
Selection.TextToColumns DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, _
ConsecutiveDelimiter:=True, _
Tab:=True, _
Semicolon:=False, _
Comma:=False, _
Space:=True, _
Other:=False, _
TrailingMinusNumbers:=True
Next
End Sub
Feed back will be good.