View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Copyright message?

Not foolproof but one way

Private Sub Workbook_Open()
ans = MsgBox("© MEvetts", vbOKCancel)
If ans = vbCancel Then
ThisWorkbook.Close savechanges:=False
End If
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"mevetts" wrote in
message ...

Hi,

Is there any way of creating some form of copyright message that pops
up when a user opens a particular workbook? They then have to agree to
the terms to enter.

Thanks,

Mark.


--
mevetts


------------------------------------------------------------------------
mevetts's Profile:

http://www.excelforum.com/member.php...o&userid=29130
View this thread: http://www.excelforum.com/showthread...hreadid=496603