View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
JasonSelf[_23_] JasonSelf[_23_] is offline
external usenet poster
 
Posts: 1
Default Range of Object Global failed


I am getting a runtime error '1004'
Method 'Range' of object 'Global' failed

Private Sub OptionButton2_Click()
Sheets("Formulas").Visible = True
Range("Formlas!B2") = "480" <-----
Sheets("Formulas").Visible = False
Sheets("Panel").Select
End Sub

when I originally wrote this code it worked, however now I get th
run-time error. Does anyone know what would cause this and how I ge
the active object to be the Worksheet?

Thanks,
Jaso

--
JasonSel
-----------------------------------------------------------------------
JasonSelf's Profile: http://www.excelforum.com/member.php...nfo&userid=533
View this thread: http://www.excelforum.com/showthread.php?threadid=48196