+ Reply to Thread
Results 1 to 7 of 7

macro to find first blank cell in rows and insert text

  1. #1
    Registered User
    Join Date
    03-10-2010
    Location
    asda
    MS-Off Ver
    Excel 2003
    Posts
    21

    macro to find first blank cell in rows and insert text

    i need a macro to find the first empty cell in a column and insert text, then in the cell after that one insert another text

    I need this to loop through as many columns as a column count function i have states

  2. #2
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: macro to find first blank cell in rows and insert text

    Something like this perhaps:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-10-2010
    Location
    asda
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: macro to find first blank cell in rows and insert text

    it doesnt work

    Likely b/c i have formulas in teh cells returning ""

    i need a macro to find the first "" in a column and then insert text, then insert diff text after that.

  4. #4
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: macro to find first blank cell in rows and insert text

    Try this then
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-10-2010
    Location
    asda
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: macro to find first blank cell in rows and insert text

    that works but i need it to stop if theres no data in the next colum in row 17

  6. #6
    Valued Forum Contributor mdbct's Avatar
    Join Date
    11-11-2005
    Location
    CT
    MS-Off Ver
    2003 & 2007
    Posts
    848

    Re: macro to find first blank cell in rows and insert text

    Okay then.....
    Please Login or Register  to view this content.
    Is there anything else you want to tell me? This would be easier if the constraints were made known.

  7. #7
    Registered User
    Join Date
    03-10-2010
    Location
    asda
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: macro to find first blank cell in rows and insert text

    worked great. Thanks

+ 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