+ Reply to Thread
Results 1 to 4 of 4

Prevent sheet move

  1. #1
    Registered User
    Join Date
    05-17-2020
    Location
    wirral
    MS-Off Ver
    365
    Posts
    4

    Prevent sheet move

    Hi all, I have set up code that runs off a specific sheet number. The sheet number of sheets will change as the user runs through the operation, but the first three will remain where the code looks.

    Is there any way I can fix the sheets positions so they cannot be moved manually?

    Thanks in advance.

    Simon

  2. #2
    Registered User
    Join Date
    04-26-2020
    Location
    Massachusetts
    MS-Off Ver
    Office 365
    Posts
    93

    Re: Prevent sheet move

    I am not sure if these 3 sheets are being updated or not. Assuming they do Not get updated the The protect sheet with a password may do what you want. If they are updated then VBA may help and that is beyond me.

    Require a password to open or modify a workbook
    Open the sheet or workbook that you want to protect.
    On the Review tab, click Protect Sheet or Protect Workbook. Only the Protect Sheet.
    In the Password box, type a password, and in the Verify box, type the password again.
    Choose any other protection options you want and click OK.
    Click Save.

    Don't forget to say "Thank You" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

    If this resolves your problem then click on Thread Tools at the top and mark it solved.

  3. #3
    Registered User
    Join Date
    05-17-2020
    Location
    wirral
    MS-Off Ver
    365
    Posts
    4

    Re: Prevent sheet move

    Thanks way, the sheets are being updated and some of the names will change as the project progress so I cant use the named function either.

    I have tried the password protect and It wont prevent the sheets moving positions within the workbook, it doesn't stop them from being accidently moved.

    Thanks for responding.

  4. #4
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Prevent sheet move


    Hi,

    use the sheet codename rather than sheet # or name
    so even if the sheets order is changed or a sheet renamed that is very not an issue like you can see in VBA help …

+ 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. Prevent Excel File from Copy, Move and Delete from computer
    By AmirSoft in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-22-2014, 04:43 AM
  2. Replies: 2
    Last Post: 08-27-2013, 05:01 PM
  3. Protect Workbook - prevent move/copy only
    By PY_ in forum Excel General
    Replies: 3
    Last Post: 09-15-2010, 09:40 AM
  4. Replies: 2
    Last Post: 01-12-2006, 10:35 PM
  5. [SOLVED] Prevent / Disable Worksheet Copy or Move
    By Peter Noneley in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-12-2005, 08:05 AM
  6. Replies: 6
    Last Post: 08-04-2005, 10:05 AM
  7. [SOLVED] Prevent changes to cells but let user move columns?
    By sai in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-19-2005, 11: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