View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default writing on cells

Private Sub commandButton1_Click()
Workbooks("book2.xls").worksheets(1).Range("A1").V alue = _
"Hello World!"
End Sub

--
Regards,
Tom Ogilvy


Luis Neves wrote in message
om...
i've a macro(on "book1.xls") with a userform with a button1 inside , i
just want on click event of the button1 write : "Hello World!!" on
book2.xls ...
Is this possible ?