Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Maybe use the change event to fix them down
Private Sub Worksheet_Change(ByVal Target As Range) Const WS_RANGE As String = "A:C" '<== change to suit On Error GoTo ws_exit Application.EnableEvents = False If Not Intersect(Target, Me.Range(WS_RANGE)) Is Nothing Then Target.Value = Target.Value End If ws_exit: Application.EnableEvents = True End Sub 'This is worksheet event code, which means that it needs to be 'placed in the appropriate worksheet code module, not a standard 'code module. To do this, right-click on the sheet tab, select 'the View Code option from the menu, and paste the code in. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "rhinozw" wrote in message ... Thanks Bob - last time you help was 2005! Paste values is a given - thanks. But I want this to be automated so when the user has inserted the value it fixes the vlookup values so that they & the user input can not be changed! "Bob Phillips" wrote: Just select them and copy to the clipboard, then EditPasteSpecial and click Values. -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "rhinozw" wrote in message ... I have 3 columns - A, B, & C. A & C are automatically filled using a VLOOKUP formula and this is determined by the code entered into B. I am trying to achieve a solution where when the user completes B then A & C are populated as per VLOOKUP and then A, B & C can not be changed. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using formula results as values in other formulae | Excel Worksheet Functions | |||
Convert formulae to UDF | Excel Discussion (Misc queries) | |||
formulae for adding a forward slash automatically into a cell | New Users to Excel | |||
Automatically Convert values to $M | Charts and Charting in Excel | |||
repost; Automatically updating formulae in multiple sheets | Excel Discussion (Misc queries) |