Results 1 to 2 of 2

Applying If in macro to range of data

Threaded View

  1. #1
    Registered User
    Join Date
    01-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    47

    Applying If in macro to range of data

    How would I apply this to an entire range of data? I want all of the columns to stay the same, I just want this to autmatically fill in from row 2 to the end of my range of data.

        If Range("H2") = "" Then
        Range("J2") = Range("I2")
        Else
        Range("J2") = Range("H2") & " " & Range("I2")
        End If
    Thanks.
    Last edited by johnlynches; 03-31-2012 at 04:49 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