+ Reply to Thread
Results 1 to 3 of 3

trying to find end of file fot empty cells

  1. #1
    Forum Contributor
    Join Date
    04-16-2016
    Location
    bognor
    MS-Off Ver
    Pro-Plus 2016
    Posts
    153

    trying to find end of file fot empty cells

    Hi all,

    I have code that fills in the blanks(with a 0) in a column om my sheet.The only problem is that when it gets to the end of my sheet it continues filling in the blank after my sheet has ended usually stop at around 300900 lines.So this slows thing up.
    Is there a way I could get it to recognise the end of my file and stop filling in the blanks from there.

    Please Login or Register  to view this content.
    any help appreciated
    Kind regards
    BOF

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,936

    Re: trying to find end of file fot empty cells

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,692

    Re: trying to find end of file fot empty cells

    Tell us what you want to achieve because you select Column I and delete it. You then delete it again. Do you want to delete 2 columns? If so, which ones? Columns I and J?
    Don't select if not absolutely necessary.
    This would delete 2 columns (I and J) also
    Please Login or Register  to view this content.
    You then select the whole Column I and put a zero (0) in text in the empty cells.
    If you want to enter zeros from the first empty cell in Column I to the last used cell in your used range, this should do that.
    Please Login or Register  to view this content.
    If all else fails, attach a sample that represents your workbook with a before and after.

    I guess while I was typing, Ben gave you the solution.

+ 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. How to find empty cells
    By dhineshreddy in forum Excel General
    Replies: 4
    Last Post: 01-23-2018, 02:28 PM
  2. Find count of filled cells and empty cells in a column
    By thepinkgeologist in forum Excel General
    Replies: 4
    Last Post: 09-22-2015, 01:03 PM
  3. Find empty cells and use data from neighboring cells to populate a list?
    By Margate in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-30-2015, 05:33 PM
  4. Replies: 5
    Last Post: 05-13-2014, 10:19 AM
  5. Need to find empty filled cells in a column and copy to the empty cell below
    By Grahamfeeley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2014, 10:09 AM
  6. find empty cells
    By nobby2193 in forum Excel General
    Replies: 3
    Last Post: 06-22-2010, 06:32 AM
  7. Find empty cells
    By Maria in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-29-2005, 03:06 AM

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