Hey guys,
I've got this strange issue - been using vba for years (albeit in amateur-ish ways) but never come across anything like this. Any help would be awesome!
1. I have a data sheet with dates in one column but excel filter foes not recognise them as dates
2. Problem is easy to fix manually, just select the column then: Data>TextToColumns> --- then select "Delimited" ; in the next screen make sure no Delimiters are selected; in the next screen select "Date" - "DMY"
3. This does the trick but i have many columns like this in new worksheets all the time
4. When i record this as a macro and run it from vba it doesn't work.
When i record the macro, this is the code it generates:
Columns("I:I").Select
Selection.TextToColumns Destination:=Range("I1"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=False, _
Semicolon:=False, Comma:=False, Space:=False, Other:=False, FieldInfo _
:=Array(1, 4), TrailingMinusNumbers:=True
BUT when i execute the exact same code (on a worksheet where the data hasn't been changed already) from VBA it does not work
Here is a screencast showing what is happening: http://www.screencast.com/t/rse8QpqK
Here is the data: https://www.dropbox.com/s/e0jmsch1xx...ount.xlsx?dl=0
thanks so much
Gesh
Bookmarks