+ Reply to Thread
Results 1 to 7 of 7

must fill up data before user can save file

  1. #1
    Registered User
    Join Date
    05-07-2012
    Location
    Dhaka
    MS-Off Ver
    Excel 2016
    Posts
    80

    Question must fill up data before user can save file

    is it possible to have a user must fill data on some field before he can save? I can't have macro as the environment is protected. If it's possible with formula then it's nice.
    Thank you for any help

  2. #2
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: must fill up data before user can save file

    A formula cannot prevent a user from saving a file. There is no formula that can check if someone tries to save a file. You need VBA to do that, specifically a workbook before change event.

  3. #3
    Registered User
    Join Date
    05-07-2012
    Location
    Dhaka
    MS-Off Ver
    Excel 2016
    Posts
    80

    Re: must fill up data before user can save file

    well in that case, is it possible to have any formula show error if certain cells are empty? I want some cells to have filled by user and if left blank then they get some error.... Its not possible na?
    Thanks for any help

  4. #4
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: must fill up data before user can save file

    You can use conditional formatting to highlight cells that must be filled in.
    You can also use conditional formatting to display a prominent message if not all mandatory cells have been entered.

    See attached for an example. C3 to C10 must have data. If any one of these cells is blank, it will appear with a red fill and cell A1 will display a warning. If all cells have data, no cell is red and A1 shows a friendly reminder to save the file.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-07-2012
    Location
    Dhaka
    MS-Off Ver
    Excel 2016
    Posts
    80

    Re: must fill up data before user can save file

    your solution sounds right to me. Thanks for the answer. Btw, can you please attach the file in 2003 (.xls) format. My office environment wont use 2007 yet
    thanks again

  6. #6
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: must fill up data before user can save file

    Sorry, I did not pay attention to your Excel version. Here is the file in .xls. I have tested it in 2003 and it works fine.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-07-2012
    Location
    Dhaka
    MS-Off Ver
    Excel 2016
    Posts
    80

    Re: must fill up data before user can save file

    thank you very much for your help

+ 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