Hi Excel Gurus,
Thanks for reading this post in advance. I am stuck in middle of my automation process and needed some help and if you could that would be great!!
What I am trying to achieve is as below:
1.grab comments or line of text from "raw tab".
2.Paste it in the summary tab at the same time delimit the text by "spaces" so that every word is in columns.
3.Then go through each columns and remove duplicate.
4.Then cut and paste all the values in the last cell of the row "A".
So far I have managed to get to step 2 and somewhat to step 3 and basically stuck in step 3 :D
Attached the spreadsheet for your reference as well.
http://www.mediafire.com/?ngm15db4ozcwoy9
[pre]
[/pre]
Thanks for your time.
Kind Regards,
Zoogle.
Thanks for reading this post in advance. I am stuck in middle of my automation process and needed some help and if you could that would be great!!
What I am trying to achieve is as below:
1.grab comments or line of text from "raw tab".
2.Paste it in the summary tab at the same time delimit the text by "spaces" so that every word is in columns.
3.Then go through each columns and remove duplicate.
4.Then cut and paste all the values in the last cell of the row "A".
So far I have managed to get to step 2 and somewhat to step 3 and basically stuck in step 3 :D
Attached the spreadsheet for your reference as well.
http://www.mediafire.com/?ngm15db4ozcwoy9
[pre]
Code:
Sub Macro3()
'
' Macro3 Macro
'
'
Dim x As Integer
Dim y As Integer
x = 1
y = 29
Do While x <= y
Sheets("Raw").Select
Application.DisplayAlerts = False
Columns("E:E").Select
Selection.Copy
Sheets("Split").Select
Columns("A:A").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Selection.TextToColumns Destination:=Range("A1"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=True, Tab:=True, _
Semicolon:=False, Comma:=False, Space:=True, Other:=False, FieldInfo _
:=Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1), Array(5, 1), Array(6, 1), _
Array(7, 1), Array(8, 1), Array(9, 1), Array(10, 1), Array(11, 1), Array(12, 1), Array(13, 1 _
), Array(14, 1), Array(15, 1), Array(16, 1)), TrailingMinusNumbers:=True
Sheets("Split").Select
ActiveCell.Offset(0, x).Select
Selection.EntireColumn.Select
Application.CutCopyMode = False
ActiveSheet.Range("$A$1:$A$2060").RemoveDuplicates Columns:=1, Header:= _
xlYes
x = x + 1
Loop
Application.DisplayAlerts = True
End Sub
Thanks for your time.
Kind Regards,
Zoogle.