Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Why does the error 1004 occure here? (error marked between <<) and what do I do to avoid it in the future? Private Sub Worksheet_SelectionChange(ByVal Target As Range) ActiveSheet.Unprotect Password:="peterke" Application.ScreenUpdating = False Range("C6").Select ActiveCell.FormulaR1C1 = "=SUM(R[1]C,1)"<< Range("C6").Select ActiveSheet.Protect Password:="peterke" Application.ScreenUpdating = True End Sub greets, Peterke |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run time error 1004, General ODBC error | New Users to Excel | |||
Runtime error '1004' General ODBC error | New Users to Excel | |||
Excel 2003 Macro Error - Runtime error 1004 | Excel Discussion (Misc queries) | |||
Run time error '1004': Generaol ODBC error | Excel Programming | |||
Interior class error/runtime error 1004 | Excel Programming |