+ Reply to Thread
Results 1 to 3 of 3

Restrict User to Delete First Two Rows

  1. #1
    Forum Contributor
    Join Date
    12-27-2008
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    235

    Exclamation Restrict User to Delete First Two Rows

    Dear Friends,

    Pls suggest vba code for Sheet, which does not allow to delete row 1 and 2. This code should always work without any button assigned.

    Thanks, Regards RR

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Restrict User to Delete First Two Rows

    Perhaps if you locked the rows and then protected the sheet it would prevent deleting the rows.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    12-27-2008
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    235

    Re: Restrict User to Delete First Two Rows

    Yes above method very standard, if another ways through VBA?

+ 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. [SOLVED] Delete the rows when user gives the name
    By Ravana in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-24-2016, 06:41 AM
  2. Code request to restrict user to edit/delete after -- days
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-08-2015, 12:48 PM
  3. [SOLVED] Restrict User Choice
    By dcaraher in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-30-2014, 03:37 PM
  4. vba excel user form restrict input on user textbox
    By samz93 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-04-2013, 04:38 PM
  5. [SOLVED] VBA - Add Rows with formulas only and Delete Rows with check - User defined
    By polcen in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-03-2012, 12:18 AM
  6. Restrict user change
    By lfcskyle in forum Excel General
    Replies: 0
    Last Post: 10-22-2012, 08:05 AM
  7. Delete rows that are not chosen by the user.
    By elmaco12 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-09-2008, 09:43 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