Results 1 to 7 of 7

Recorded macro TexttoColumn doesn't works

Threaded View

danusko Recorded macro TexttoColumn... 11-11-2020, 08:46 AM
6StringJazzer Re: Recorded macro... 11-11-2020, 12:53 PM
danusko I mean, that I select range,... 11-11-2020, 03:25 PM
Kaper Re: Recorded macro... 11-11-2020, 01:07 PM
danusko Thx, I will try it tomorrow... 11-11-2020, 03:26 PM
danusko Re: Recorded macro... 11-12-2020, 02:34 AM
danusko Re: Recorded macro... 11-13-2020, 04:32 AM
  1. #1
    Forum Contributor
    Join Date
    12-18-2008
    Location
    Slovakia
    MS-Off Ver
    Office 2016
    Posts
    162

    Recorded macro TexttoColumn doesn't works

    Hi,
    i started to use Excel 2016 and i met with this strange behavior of Excel. I use Excel in Slovak (EU) region.

    I try to convert date format value (DD.MM.YY hh:mm:ss) loaded from txt file with text to column functionality but it doesnt worked.

    When i do it manualy, it works like a charm, but when i record the macro and then try to run it, its only select range and doesnt convert the dates.

    Pls. any suggestions?
    I also tried do it with function multiple (copy and special paste), and the result was the same. I mean, i wrote 1 in blank cell, then i copy this 1 and tried to apply it to selected cells with txt date. When i did manualy it worked, but macro did not.

    I also tried with turned off my personal.xls file with blank excel but its also not worked.

    this is the simple macro with txtto column recorded function wich didnt worked.
    Sub Makro5()
    
        Columns("D:D").Select
        Selection.TextToColumns Destination:=Range("D1"), DataType:=xlDelimited, _
            TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, _
            Semicolon:=False, Comma:=False, Space:=False, Other:=False, FieldInfo _
            :=Array(1, 4), TrailingMinusNumbers:=True
    End Sub
    Last edited by danusko; 11-11-2020 at 09:01 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA recorded macro for replacing text doesn't work after relaunching it manually
    By makiwara in forum Word Programming / VBA / Macros
    Replies: 5
    Last Post: 05-20-2020, 05:16 PM
  2. [SOLVED] Recorded Macro for Excel Table doesn't work when run again
    By saravnepali in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-14-2019, 08:43 PM
  3. [SOLVED] Working Formula Entered in Recorded Macro doesn't work when run!
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-24-2014, 11:07 AM
  4. Recorded macro - doesn`t work
    By Bandini in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2014, 02:20 AM
  5. [SOLVED] Recorded Pivot Table Macro Doesn't Do What I Recorded!
    By diakonos1984 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-26-2013, 11:01 AM
  6. [SOLVED] Recorded macro doesn't work 5 seconds after creation...
    By Bjordion in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-22-2013, 04:51 PM
  7. Recorded macro doesn't seem to provide expected result
    By Jeroen1000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-21-2009, 06:52 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1