+ Reply to Thread
Results 1 to 5 of 5

Copy cell range to the last empty raw

  1. #1
    Registered User
    Join Date
    05-11-2014
    MS-Off Ver
    Excel 2003
    Posts
    6

    Copy cell range to the last empty raw

    Hello there,

    I am a newbie! I am trying to create a macro that I can execute for each sheet were it copies a cell range to the last empty raw in column A. I have one workbook, Excel 2007, that contain many worksheets (UnitA, UnitB, etc.) I am trying to run the following in each worksheet and I am getting mix results.

    Please Login or Register  to view this content.
    * Range("A3") are my headers.
    * Range("A1048576:I1048576") is the formula and cell format that I wish to copy. All worksheets have the same range and raw/columns location.

    What am I missing here?

    Thanks in advance!

    All the best,

    E-
    Last edited by enetworks; 05-12-2014 at 02:25 AM. Reason: Use code tags around code per

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Copy cell range to the last empty raw

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Copy cell range to the last empty raw

    Hi, enetworks,

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

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/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)

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Registered User
    Join Date
    05-11-2014
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Copy cell range to the last empty raw

    Per your instructions, I have added the
    Please Login or Register  to view this content.
    tags.

    All the best,

    E-

  5. #5
    Registered User
    Join Date
    05-11-2014
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Copy cell range to the last empty raw

    Hello patel45,

    Thank you for your reply. It works great!

    All the best,

    E-

+ 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. Need to find empty filled cells in a column and copy to the empty cell below
    By Grahamfeeley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2014, 10:09 AM
  2. how to copy a range of cells, paste them and then find next empty cell
    By comp23 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2013, 03:34 PM
  3. [SOLVED] Copy and Paste Cells to Next empty cell in range
    By oddinho2 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 09-20-2013, 12:51 PM
  4. copy range of formulas when cell is empty
    By nikenis in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2012, 07:14 AM
  5. Copy range if the cell is not empty
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-22-2012, 05:43 PM

Tags for this Thread

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