Hi. Could use your help in figuring out proper VBA code to use on a per entry basis, row by row.
Entry is from left to right along the row from “Date” to “Receipt #”.
When it gets to the end of the row, that VBA code should return to the “Description” cell for that row and then execute “Text to Columns” with the text then fiiling in the “Type” and “Category” cells on the same row.
Here's an image link for the above-mentioned row:
https://drive.google.com/file/d/1aKkdGyhK9LUip4-DIbyV4VkpCFqUQboF/view?usp=sharing
The Code is below. I’m getting stuck with the “Destination:=Range(“I41”). I tried to change to Range(“I41”) to “Destination:=ActiveCell". Is that even correct?! I am stuck going nowhere.
Would appreciate your help. Thanks.
Entry is from left to right along the row from “Date” to “Receipt #”.
When it gets to the end of the row, that VBA code should return to the “Description” cell for that row and then execute “Text to Columns” with the text then fiiling in the “Type” and “Category” cells on the same row.
Here's an image link for the above-mentioned row:
https://drive.google.com/file/d/1aKkdGyhK9LUip4-DIbyV4VkpCFqUQboF/view?usp=sharing
The Code is below. I’m getting stuck with the “Destination:=Range(“I41”). I tried to change to Range(“I41”) to “Destination:=ActiveCell". Is that even correct?! I am stuck going nowhere.
Would appreciate your help. Thanks.
Code:
[I][B][COLOR=#008080]ActiveCell(0, -7).Select[/COLOR][/B]
Selection.TextToColumns [COLOR=#008080][B]Destination:=Range("I41")[/B][/COLOR], DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=False, _
Semicolon:=False, Comma:=True, Space:=False, Other:=False, FieldInfo _
:=Array(Array(1, 1), Array(2, 1), Array(3, 1)), TrailingMinusNumbers:=True [/I]