+ Reply to Thread
Results 1 to 3 of 3

Copy and paste multiple cells into one cell

  1. #1
    Registered User
    Join Date
    03-23-2009
    Location
    Sunnyvale, USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Copy and paste multiple cells into one cell

    Hi All,

    I have the following VBA code in Excel that looks in sheet called mri.txt for a cell called “AcquisitionMatrix”,

    Then goes one cell down and two cell to left and copy them all into Application.Workbooks(imgMain).Worksheets("Sheet1").Activate cell “AC2”,

    But for some reason it copies the field’s name as well such as:
    AcquisitionMatrix , 0, , 256, , 256,.

    Is there a way to avoid copying the filed name into cell AC2? Such as :
    0, , 256, , 256,?


    here is the code:
    Please Login or Register  to view this content.

    Thanks for any help.

    Abrahim
    Last edited by rylo; 03-27-2009 at 06:26 PM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Copy and paste multiple cells into one cell

    Hi

    Rather than rewriting your code, change the line
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    rylo

  3. #3
    Registered User
    Join Date
    03-23-2009
    Location
    Sunnyvale, USA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Smile Re: Copy and paste multiple cells into one cell

    Hi rylo,

    That did it

    Thanks for the help,

    Abrahim

+ 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