Results 1 to 6 of 6

Paste in first free column

Threaded View

2001jesper Paste in first free column 08-03-2013, 12:45 PM
jolivanes Re: Paste in first free column 08-03-2013, 02:18 PM
2001jesper Re: Paste in first free column 08-04-2013, 09:02 AM
jolivanes Re: Paste in first free column 08-04-2013, 12:17 PM
jolivanes Re: Paste in first free column 08-04-2013, 02:15 PM
2001jesper Re: Paste in first free column 08-05-2013, 06:10 PM
  1. #1
    Registered User
    Join Date
    11-05-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    61

    Paste in first free column

    Hi

    I need to copy every secound column in the "CleanError" sheet, i have manged to make my VBA select the columns one at the time, but can get it to paste correctly into the new sheet

    My code

    Sub PasteCol()
    
    Dim i As Long
    
    For i = 1 To 100 Step 1
    
    Sheets("CleanError").Activate
    Cells(1, i).Select
     
     ActiveCell.Offset(0, i + 1).Columns("A:A").EntireColumn.Select
    
    'Paste value in first available column in "Sheet1"
    
        Next i
       
    End Sub
    Thx for any help in advance!
    Last edited by 2001jesper; 08-04-2013 at 09:02 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. paste the value in the next free cell
    By zykon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2013, 11:53 AM
  2. Copy from another excel file & paste in next free row
    By webisti in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2013, 09:58 AM
  3. [SOLVED] VBA Code for copy and paste data into next free row
    By petetowner in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-29-2012, 08:18 PM
  4. paste to next free colum on new Worksheet
    By Ralph in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-22-2006, 07:35 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