+ Reply to Thread
Results 1 to 2 of 2

Macro to `populate empty cells in a region

  1. #1
    Registered User
    Join Date
    08-11-2010
    Location
    Eastern USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Macro to `populate empty cells in a region

    I'm using Excel 2003, and have data that looks something like this:
    Please Login or Register  to view this content.
    There can be many more rows. What I'd like to do is build a macro that will
    go through a selected region - to include an area such as this - and populate the empty cells in columns D, E and F with the appropriate columns in A, B and C.
    So, an empty cell in CorrectLast would mean that Correctlast would receive LastName from the same row, CorrectFirst woudl receive FirstName from that row and CorrectMiddle would receive Middle from that row. In this example, D3 would hold "Agell", E3 would hold "Robert" and F3 would hold "L"

    If somebody could point me in th right direction, I'd be very grateful.
    Thank you for your help.
    Last edited by shg; 08-11-2010 at 01:56 PM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Macro to `populate empty cells in a region

    I don't see the point of this.

    You seem to be asking effectively, to make
    Column D = Column A
    Column E = Column B
    Column F = Column C

    What am I missing?

+ Reply to Thread

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