+ Reply to Thread
Results 1 to 3 of 3

Find last used column in row 1, then autoreplace all blank cells in row 2 UP to that colum

  1. #1
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    298

    Find last used column in row 1, then autoreplace all blank cells in row 2 UP to that colum

    Need to:

    Dim lastcol as long
    Lastcol = (farthest right column in row 1 with data)

    Replace every blank cell in row 2 with "text" UNTIL lastcol is reached.
    Last edited by ks100; 02-05-2014 at 02:54 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Find last used column in row 1, then autoreplace all blank cells in row 2 UP to that c

    Hi,

    One way

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    298

    Re: Find last used column in row 1, then autoreplace all blank cells in row 2 UP to that c

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    One way

    Please Login or Register  to view this content.
    Worked thank you

+ 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. Replies: 2
    Last Post: 10-18-2013, 11:18 AM
  2. Looking to create a macro that will skip blank cells in a column, find data cells
    By crayzwalz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-30-2013, 09:01 AM
  3. Replies: 2
    Last Post: 06-26-2010, 06:59 AM
  4. matching up a colum with another column while removing blank rows
    By atlus in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-04-2009, 06:32 PM
  5. find range of non-blank cells in colum
    By DJS in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-26-2006, 05:30 PM

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