+ Reply to Thread
Results 1 to 2 of 2

Copy and Paste in column b if column a has contents

  1. #1
    Registered User
    Join Date
    01-14-2011
    Location
    Gig Harbor, WA
    MS-Off Ver
    Excel 2010
    Posts
    24

    Copy and Paste in column b if column a has contents

    I have a list of data with a formula in column b. I only want that formula in rows where there is something in column a. My data starts at row 12 and I would like to copy the formula in B12 down through the last row that there is something in column A... using VBA / Macro.

    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Copy and Paste in column b if column a has contents

    try

    Range("B12").AutoFill Range("B12:B" & Cells(Rows.Count, 1).End(xlUp).Row)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Vba - find next empty column, insert column, copy paste values & copy paste formulas
    By DoodlesMama in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-20-2012, 12:43 PM
  2. Replies: 4
    Last Post: 03-21-2012, 08:58 AM
  3. find copy and paste contents to another column
    By danbob in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-23-2009, 10:44 AM
  4. Macro to Find end of Column and paste Contents in Column 1
    By donnydorko in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-11-2009, 10:23 PM
  5. Replies: 2
    Last Post: 05-02-2006, 11:15 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