oceanrace
Gebruiker
- Lid geworden
- 14 mei 2008
- Berichten
- 198
Hallo,
de volgende VBA code kwam ik op Worksheet tegen:
Kan deze ook in ThisWorkbook?
Ik dacht zelf dat het zo ging werken:
Maar dat doet t dus niet...
de volgende VBA code kwam ik op Worksheet tegen:
Code:
Sub ReplaceTitleBar()
' Place the current files path and filename in the titlebar:
Windows(1).Caption = (ActiveWorkbook.FullName)
' Place your own application name in the titlebar:
Application.Caption = ("Your text here")
End Sub
Kan deze ook in ThisWorkbook?
Ik dacht zelf dat het zo ging werken:
Code:
Private Sub ReplaceTitleBar()
' Place the current files path and filename in the titlebar:
Windows(1).Caption = (ActiveWorkbook.FullName)
' Place your own application name in the titlebar:
Application.Caption = ("Your text here")
End Sub
Maar dat doet t dus niet...