+ Reply to Thread
Results 1 to 2 of 2

Confusion with VBA and macro

  1. #1
    Registered User
    Join Date
    01-08-2014
    Location
    Dubli,Ireland
    MS-Off Ver
    Excel 2013
    Posts
    1

    Confusion with VBA and macro

    Hi All,
    First post here. I am having some trouble with a macro I created. Basically I have a table in sheet 1 from A20 - Z20. The figures in that table change daily, I need to copy the figures one column at a time from 1 - 20 and then paste them into the one column on sheet 2. So for example Today I needed to paste A1 - A20 from sheet 1 into E10, then I need to to take B1 - B20 from sheet 1 and paste it directly below the data in column E of sheet 2. This continues for all the data. I have a simple macro that does this automatically, my problem is that in sheet 2 there are WTD and MTD totals and my macro posts the new data after the MTD totals instead of the next available date. Is there a way to make the data paste into the first empty column instead of the next empty column. Here is a sample code that I am using, the cell references don't match what I described above but the code follows the same principal.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Confusion with VBA and macro

    You post contradicts itself on many occurences. Please review your post to ensure its accuracy.

+ 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. SaveAs/GetSaveASFilename Macro Confusion/Improper operation
    By kelwood in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-21-2012, 01:24 PM
  2. Macro confusion with document name
    By chaminod in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-25-2010, 08:49 PM
  3. Macro Chart Confusion
    By dstull in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2008, 03:58 PM
  4. Macro confusion
    By Yodaman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-22-2005, 08:45 AM
  5. Assign Macro 2 a Button....confusion
    By Stuart in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-14-2005, 01:05 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