+ Reply to Thread
Results 1 to 6 of 6

how to restrict editing a worksheet after finalising inputs?

  1. #1
    Registered User
    Join Date
    04-18-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    62

    Lightbulb how to restrict editing a worksheet after finalising inputs?

    hi there,

    how can i restrict editing a workbook after i press submit button?
    there is the details:
    i have a workbook that i want to input some figures in, and by pressing "submit" button to lock it and no further editing to be available?

    also i haven't got the "submit" button yet inputted as i'm waiting for a code

    is possible same time with Submit to send and email to certain email address?

    thanks in advance

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: how to restrict editing a worksheet after finalising inputs?

    Hi, jetlee,

    how can i restrict editing a workbook after i press submit button?
    Maybe lock all cells on the worksheet and protect the sheet with a password. Make all formulas values for the copy of that worksheet. Add a code that will only allow to reach empty cells on that sheet.

    is possible same time with Submit to send and email to certain email address?
    Yes, maybe have a look at Mail from Excel and make/mail PDF files (Windows) as a starting point and work from there on.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    04-18-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: how to restrict editing a worksheet after finalising inputs?

    Quote Originally Posted by HaHoBe View Post
    Hi, jetlee,


    Maybe lock all cells on the worksheet and protect the sheet with a password. Make all formulas values for the copy of that worksheet. Add a code that will only allow to reach empty cells on that sheet.


    Yes, maybe have a look at Mail from Excel and make/mail PDF files (Windows) as a starting point and work from there on.

    Ciao,
    Holger
    hi,
    good idea, i will give it a go.
    thank you

  4. #4
    Registered User
    Join Date
    04-18-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: how to restrict editing a worksheet after finalising inputs?

    can't get the code right.......
    i only need to lock a certain column after pressing the submit button ( same column on several sheets on workbook )so no further editing.
    any help ?

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: how to restrict editing a worksheet after finalising inputs?

    Hi, jetlee,

    could you either be more specific about what to protect or what code you recorded/tried out? Maybe even attach a workbook to demonstrate what you want.

    Ciao,
    Holger

  6. #6
    Registered User
    Join Date
    04-18-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: how to restrict editing a worksheet after finalising inputs?

    got the code right this time and works fine ...............
    thanks for all the help holger

+ 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. Restrict editing in form to a given area
    By TomBP in forum Word Formatting & General
    Replies: 1
    Last Post: 02-17-2013, 06:47 AM
  2. [SOLVED] To restrict copy and Paste in worksheet
    By flakedew in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-22-2012, 06:03 AM
  3. Finalising the time calculations
    By Dbeethekidd in forum Excel General
    Replies: 1
    Last Post: 08-13-2009, 09:31 AM
  4. [SOLVED] Restrict Worksheet_Calculate() to its original worksheet !!!
    By Carim in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-30-2005, 01:06 PM
  5. [SOLVED] restrict changes to worksheet
    By EdWeitz in forum Excel General
    Replies: 1
    Last Post: 01-31-2005, 12:06 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