+ Reply to Thread
Results 1 to 3 of 3

Using a Macro to update locked excel sheet

  1. #1
    Registered User
    Join Date
    07-02-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    5

    Using a Macro to update locked excel sheet

    Hi,

    I send out a template to branches within the company I work for so that they can provide me with certain information. E.g. I send out a budget template which the branches have to complete and submit to me.

    The sheets are usually protected with the branch people only allowed to input into certain cells. The locked cells will have formulas in them to calculate certain things and I do not want the users of the document to change these formulas hence the locked sheet.

    Sometimes if a change is required on an excel document, then I send out an updater file. I insert the cell numbers to change and the new formula. The macro used for this is:

    Please Login or Register  to view this content.
    The problem I am having is how do I lock/unlock cells using a similar method and also how do I insert lines?

    I can not send out a new version of the file each time there is a change because then the branches have to start the process over again each time.

    Please assist.

    Moderators note: code tags added for you - this time
    Last edited by FDibbins; 02-14-2013 at 02:35 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Using a Macro to update locked excel sheet

    Hi zunit. Please take a moment to read the forum rules, specifically regarding the use of code tags for VBA code
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-02-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Using a Macro to update locked excel sheet

    Ok will do.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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