Macro needed as soon as possible
Closed
smith
-
11 Feb 2010 à 16:49
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 11 Feb 2010 à 17:12
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 11 Feb 2010 à 17:12
Related:
- Macro needed as soon as possible
- Excel online macro - Guide
- Excel run macro on open - Guide
- How to copy macro from one workbook to another - Guide
- Macro for number to words in excel - Guide
- Macro antena apk - Download - Gaming tools
1 response
rizvisa1
Posts
4478
Registration date
Thursday 28 January 2010
Status
Contributor
Last seen
5 May 2022
766
11 Feb 2010 à 17:12
11 Feb 2010 à 17:12
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.