+ Reply to Thread
Results 1 to 3 of 3

Copya and paste data pb

  1. #1
    Erasmus Bowen
    Guest

    Copya and paste data pb

    Hi,
    I have an Exel 97 macro that has been working great .... since 1997.
    Now we have updated to Excell 2003 it is no longer working correctly.

    Basically it is jamming when I want to
    copy data (12 columns and 7000 rows) from FileA.CSV and paste into
    FileB.xls

    The problem is that when the macros pastes in the (semicolon separated) data
    from FileA.csv it doesn't get distributed into the cells.
    How can I force that ?

    Erasmus



















  2. #2
    Bernie Deitrick
    Guest

    Re: Copya and paste data pb

    Erasmus,

    Add a line at the bottom of your sub like:

    Range("A2", Range("A65536").End(xlUp)).TextToColumns _
    Destination:=Range("A2"), DataType:=xlDelimited, _
    Semicolon:=True

    HTH,
    Bernie
    MS Excel MVP


    "Erasmus Bowen" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    > I have an Exel 97 macro that has been working great .... since 1997.
    > Now we have updated to Excell 2003 it is no longer working correctly.
    >
    > Basically it is jamming when I want to
    > copy data (12 columns and 7000 rows) from FileA.CSV and paste into FileB.xls
    >
    > The problem is that when the macros pastes in the (semicolon separated) data from FileA.csv it
    > doesn't get distributed into the cells.
    > How can I force that ?
    >
    > Erasmus
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >




  3. #3
    Erasmus Bowen
    Guest

    Re: Copya and paste data pb

    Perfect !
    Thanks !

    Erasmus




    "Bernie Deitrick" <deitbe @ consumer dot org> a écrit dans le message de
    news: %[email protected]...
    > Erasmus,
    >
    > Add a line at the bottom of your sub like:
    >
    > Range("A2", Range("A65536").End(xlUp)).TextToColumns _
    > Destination:=Range("A2"), DataType:=xlDelimited, _
    > Semicolon:=True
    >
    > HTH,
    > Bernie
    > MS Excel MVP
    >
    >
    > "Erasmus Bowen" <[email protected]> wrote in message
    > news:[email protected]...
    >> Hi,
    >> I have an Exel 97 macro that has been working great .... since 1997.
    >> Now we have updated to Excell 2003 it is no longer working correctly.
    >>
    >> Basically it is jamming when I want to
    >> copy data (12 columns and 7000 rows) from FileA.CSV and paste into
    >> FileB.xls
    >>
    >> The problem is that when the macros pastes in the (semicolon separated)
    >> data from FileA.csv it doesn't get distributed into the cells.
    >> How can I force that ?
    >>
    >> Erasmus
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>
    >>

    >
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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