+ Reply to Thread
Results 1 to 2 of 2

Macro to paste data to next empty cell

Hybrid View

4lowie Macro to paste data to next... 12-13-2013, 03:58 AM
:) Sixthsense :) Re: Macro to paste data to... 12-13-2013, 04:02 AM
  1. #1
    Forum Contributor
    Join Date
    12-08-2013
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    117

    Macro to paste data to next empty cell

    Hi all.

    I want to create a macro to paste some data into the next empty cell. Below is sort of what I need but this show it going to a particular cell, I need it to got to next open cell in the range from say BY3. So next macro run it would copy and paste the data from T3:T9 (always this range) to BZ3 then CA3, CB3 and so on.

    Any idea's?

    Thanks Dave

    [[Sub CopyData()]
    '
    ' CopyData Macro
    ' Copy The Data To Build Graph
    '

    '
    Range("T3:T9").Select
    Selection.Copy
    Range("BY3").Select
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
    :=False, Transpose:=False
    [End Sub]]
    Last edited by 4lowie; 12-13-2013 at 04:30 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Macro to paste data to next empty cell

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE] [/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

+ 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] macro to paste data untill the next empty row
    By winger in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-24-2012, 10:32 AM
  2. cannot make macro go down to first empty cell to paste
    By Lanktree in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-05-2011, 04:42 PM
  3. paste to next empty cell macro
    By ntie0212 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2011, 10:35 AM
  4. Macro-Copy&Paste Fixed Data Ranges Into Last Empty Cell of Specific Column
    By hailnorm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-26-2009, 10:15 PM
  5. Getting Macro to paste into next empty cell
    By moe0303 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-24-2009, 11:20 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