Created
July 3, 2015 07:54
-
-
Save cverbiest/07114bad617718a5c9db to your computer and use it in GitHub Desktop.
Excel macro to convert proutil dbanalys txt output to columns
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 dbanalys2table() | |
' | |
' dbanalys2table Macro | |
' | |
' FieldInfo:=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1), Array(5, 1), Array(6, 1), Array(7, 1)), TrailingMinusNumbers:=True | |
Range("A1").Replace What:="Time stamp", Replacement:="""Time Stamp""" | |
Columns("A:A").Select | |
Selection.TextToColumns Destination:=Range("A1"), DataType:=xlDelimited, _ | |
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=True, Tab:=False, _ | |
Semicolon:=False, Comma:=False, Space:=True, Other:=False | |
Cells.Select | |
Cells.EntireColumn.AutoFit | |
Rows("1:1").Select | |
Selection.AutoFilter | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment