LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Locking Formula - Whole Column

Yes, I misunderstood your reference to "lock" to mean "protection" rather
than "absolute references". If you can make use of a macro, the following
one will convert **all** range reference in the formulas within the cell in
the current selection to absolute references...

Sub SwitchToAbsoluteReferences()
Dim R As Range
For Each R In Selection
R.Formula = Application.ConvertFormula(R.Formula, xlA1, , xlAbsolute)
Next
End Sub

Just select the range of cells you want to convert (the column based on your
original posting) and run the macro.

Rick


"Schwimms" wrote in message
...
Sorry I must have phrased myself wrong. I do not want to protect the sheet
from entries I want the formulas to be locked. IE ; change (A1+B1) to
($A$1 +
$B$1). I just want all my formulas to be locked.

"Rick Rothstein (MVP - VB)" wrote:

I've never use this option before, but it looks like you can give
permission
to just yourself via the Tools/Protection/Allow Users To Edit Ranges item
on
Excel's menu bar.

Rick


"Schwimms" wrote in message
...
Hi,

I want to lock all the formulas in a whole column without having to go
into
each cell individually. Is this possible?




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Locking a Column SiH23 Excel Discussion (Misc queries) 4 October 23rd 07 07:56 PM
locking formula in cells in without locking whole sheet SuziQ Excel Discussion (Misc queries) 1 July 21st 06 03:58 PM
Locking column names pdgood Excel Discussion (Misc queries) 8 July 11th 06 05:11 PM
Locking column entries to an adjacent linked column Steeljaw Excel Discussion (Misc queries) 1 January 23rd 06 10:45 PM
Column widths - locking down Art Excel Discussion (Misc queries) 1 May 9th 05 11:00 PM


All times are GMT +1. The time now is 05:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"