Results 1 to 3 of 3

Insert row and then copy above formula on protected sheet

Threaded View

  1. #1
    Registered User
    Join Date
    07-12-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    1

    Insert row and then copy above formula on protected sheet

    Hi,
    I'm new with VB and try to learn it through web search. I try to find it on the web (ex: http://www.excelforum.com/excel-prog...above-row.html) and can't really find anything that works for me (or probably because I'm still new and confuse).
    Below are the coding that I use:
    Private Sub Workbook_Open()
    For Each ws In Sheets
       With ws
           .Unprotect Password:="1"
           .Protect Password:="1", UserInterfaceOnly:=True, DrawingObjects:=False, AllowFormattingCells:=True, AllowFormattingColumns:=True, AllowFormattingRows:=True, AllowInsertingRows:=True
           .EnableOutlining = True
        End With
    Next ws
    End Sub
    Now, I need to make the end user able to insert row with automatically copy formula from above row that is protected. The formula are on column F,K,P,U,etc. I cannot find anything from the web that relevance to my inquiry.

    Anyone can help?

    Thanks
    Last edited by Rinto; 07-15-2013 at 01:39 AM.

Thread Information

Users Browsing this Thread

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

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