Results 1 to 7 of 7

Find Last Column With Data

Threaded View

  1. #1
    Registered User
    Join Date
    04-05-2007
    Location
    Lombard, Illinois
    Posts
    60

    Find Last Column With Data

    I'm writing a macro to load a days data and calculate/summerize the results. The first step is to take yesterdays data and move it out of the calculation columns so I can clear yesterdays data. I want to copy yesterdays calculated results to the first column from the left that is blank.

    Yesterday I pasted data in a worksheet A. In a worksheet B, columns B3:D500 calculate/summarize the data based on the formulas I've entered.

    Today I want to take the range B1:D500 in Worksheet B and paste the data and formats starting with the first blank column in Worksheet B.

    For example today I would paste B1:D500 in E1:G500. Tomorrow I would paste B1:D500 in H1:J500, the next day I would paste B1:D500 to K1:M500.

    This is what I've been working with, but my syntax is wrong.

    Range("Range(("IU").End(xlToLeft).Column)&:1").Select
    Last edited by gav0101; 05-21-2010 at 05:03 PM.

Thread Information

Users Browsing this Thread

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

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