+ Reply to Thread
Results 1 to 2 of 2

vba locked filled merged cell with password and blank merged cell remain unlock

  1. #1
    Registered User
    Join Date
    08-06-2016
    Location
    Malaysia
    MS-Off Ver
    2010
    Posts
    7

    Lightbulb vba locked filled merged cell with password and blank merged cell remain unlock

    Hi there, I have 10 merged cell need to be locked after it's filled with date.

    The 10 merged cell:
    E46:F46
    E47:F47
    E48:F48
    E49:F49
    G46:I46
    G47:I47
    G48:I48
    G49:I49
    J46:L46
    J47:L47

    The current condition of the worksheet its password protected with "123" and all the 10 merged cell above its unlocked.

    What I want the VBA code to do:
    1. After enter the date and save the workbook, the cell can't be edit anymore, for example I enter a date in E46:F46 merged cell after I save the workbook it will be password protected.
    2. The balance merged cell it's not password protected until its fill with the date.
    3. Popup a message if the blank cell is filled with wrong data, only accept date data, example: 26/09/2018

    Hope it can be achieved via VBA.
    Thanks.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,606

    Re: vba locked filled merged cell with password and blank merged cell remain unlock

    Yes, it can, but why are you posting it in https://www.excelforum.com/excel-general/ ?
    Best Regards,

    Kaper

+ 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. Ignore blank cell if cell is in a merged cell group
    By zoenightshade in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2015, 03:08 PM
  2. Limit merged cell data; Place excess into next merged cell down
    By coreytroy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2013, 10:35 PM
  3. [SOLVED] VB:ClearContents Error on Merged Cell - But I dont have Any Merged Cell
    By cychua in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-24-2013, 06:33 AM
  4. Replies: 2
    Last Post: 11-02-2011, 10:06 AM
  5. [SOLVED] Copy merged cell, paste as merged cell
    By jomili in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-18-2009, 02:35 PM
  6. Unlock cell based on merged cells input
    By 2funny4words in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-03-2009, 06:04 PM
  7. how do i link merged cells to a merged cell in another worksheet.
    By ibbm in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-27-2006, 06:45 PM

Tags for this Thread

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