Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Required cell
Thanks Thanks: 0 Likes Likes: 0

  1. #11
    New Member
    Join Date
    Sep 2019
    Post Thanks / Like
    0 Post(s)
    0 Thread(s)

    Default Re: Required cell

    Quote Originally Posted by Joe4 View Post
    You can add code to the "BeforeClose" workbook event, which triggers to run automatically whenever they try to close the workbook. Is that what you are looking for?

    If so, we need to determine which rows actually have data and need to be checked. For rows with data, is there one column that is ALWAYS populated, so we know we can look at that column to determine exactly where our data ends?
    I don't have that column now, but i could add one at the end to use as an index. I suppose i could to a formula to increment by one for every row, then lock the cells, right?

  2. #12
    MrExcel MVP
    Junior Admin
    Joe4's Avatar
    Join Date
    Aug 2002
    Post Thanks / Like
    57 Post(s)
    11 Thread(s)

    Default Re: Required cell

    You said that you have ten columns of data (Date Served, Last Initial, First initial, Zip, First Time Visit, Current month discount, over 60, Men, Women, Children).
    Are you telling me that for every row of data that you have, you cannot guarantee that any of these 10 columns will always have something in it?
    1. Use the built-in Help that comes with Excel/Access
    2. Use the Search functionality on this board
    3. A lot of VBA code can be acquired by using the Macro Recorder.

    "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life!"

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts