|
Topic Topic Hot Topic New Topic Locked Topic Sticky Topic Hidden |
Oggetto calendario mi da errore .. |
Post Reply
|
| Author | |
Brostin
Utente Base
Joined: 11/Dic/2007 Status: Offline Points: 96 |
Post Options
Thanks(0)
Quote Reply
Topic: Oggetto calendario mi da errore ..Posted: 07/Feb/2012 at 11:59 |
|
Un saluto al forum,
mi è stata postata la seguente procedure per l'utilizzo dell'oggetto calendario all'interno di un range di celle. la stessa funziona perfettamente su Excel 2007 mentre su 2003 mi segnale il seguente errore : errore di compilazione impossibile trovare l'oggetto e /o la libreria e viene evidenziato la voce Format come riportato sotto in grassetto .. Avete qualche suggerimento ? Grazie Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean) If Not (Intersect(Target, Range("H11:L542")) Is Nothing) Then If Target.Text <> "" Then res = Format(Target.Value, "d/m/yy") Else res = Date$ End If UserForm1.Show If res <> "" Then Target.Formula = DateValue(res) End If End If End Sub |
|
![]() |
|
Brostin
Utente Base
Joined: 11/Dic/2007 Status: Offline Points: 96 |
Post Options
Thanks(0)
Quote Reply
Posted: 07/Feb/2012 at 14:34 |
|
[ RISOLTO ] Era necessario dichiarare la variabile res. Scusatemi ma ... sono agli inizi
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |