+ Reply to Thread
Results 1 to 5 of 5

Help Copying Column to Newest Empty Column

  1. #1
    Registered User
    Join Date
    04-01-2014
    Location
    Mississippi
    MS-Off Ver
    Excel 2007
    Posts
    6

    Help Copying Column to Newest Empty Column

    Hi,
    I am a novice with macros beyond recording them and am hoping someone can help me tweak mine.

    I am simply trying to copy column "G" and paste its values into the next empty column. This way when new data is entered I can store the data's history.
    Below is where I currently stand and I am attaching the file if that will help.
    Imports.xlsm

    Sub Macro2()
    '
    ' Macro2 Macro
    '
    ' Keyboard Shortcut: Ctrl+l
    '
    Columns("G:G").Select
    Range("G4").Activate
    Selection.Copy
    Columns("BK:BK").Select
    Range("BK4").Activate
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
    :=False, Transpose:=False
    Range("BK4").Select
    Application.CutCopyMode = False
    Selection.ClearContents
    End Sub

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,080

    Re: Help Copying Column to Newest Empty Column

    Try:
    Please Login or Register  to view this content.
    Last edited by Mumps1; 02-18-2015 at 10:59 AM.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    04-01-2014
    Location
    Mississippi
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Help Copying Column to Newest Empty Column

    Hey Mumps!

    I tried pasting it in but for some reason all it ends up doing is adding a converting column "G" to a data table and adds a header (see below image)
    It might have pasted it in wrong? But it is start for me though and I'm going to try and play around with it

    Picture.png

  4. #4
    Registered User
    Join Date
    04-01-2014
    Location
    Mississippi
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Help Copying Column to Newest Empty Column

    Wait! Actually it worked!

    I think if I change the formatting for the date to mm-yy then I'm set on all fronts too.

    Thank you so much!!!

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,080

    Re: Help Copying Column to Newest Empty Column

    My pleasure.

+ 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. [SOLVED] Sort dates in column from oldest to newest...
    By ILoveYouExcel in forum Excel General
    Replies: 2
    Last Post: 06-11-2014, 02:11 PM
  2. Copying data returning an error in Sheet1 to next empty cell in specific column of Sheet2
    By cloudwalking in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 03-22-2013, 09:02 AM
  3. [SOLVED] Copying entries in the empty cells in a column
    By bedik in forum Excel General
    Replies: 2
    Last Post: 01-30-2013, 02:29 PM
  4. Replies: 1
    Last Post: 06-19-2012, 10:35 AM
  5. Copying the last entered cell in a column to the first empty row in a column
    By kmr85 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-07-2010, 07: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