Grazie mille
Francesca
Moderatori: Anthony47, Flash30005
PcBase ha scritto:Qui è la sezione Excel, stai cercando una soluzione tra Excel e PPT?
Se comprendiamo la richiesta sicuramente avrai una risposta
kelvin mi diceva che su excel si possono fare molte cose con VBA ma è lo stesso che c'è su ppt allora mi chiedo se non sia possibile farlo direttamente...il linguaggio sarà pur lo stesso!!!????
Dim FReady As Boolean, myFFile, timeIn As Single, timeEx As Single, mySlide As Integer
Sub ppp()
'inizializza log file
Close #11
myDir = ActivePresentation.Path & "\" '<<<
myfile = "Pippo_" & Format(Now(), "yy-mm-dd_hhmmss") & ".txt"
myFFile = myDir & myfile
Open myFFile For Output As #11
FReady = True
timeIn = Timer: mySlide = 1
Close #11
End Sub
Sub OnSlideShowPageChange(ByVal SSW As SlideShowWindow)
If FReady = False And SSW.View.CurrentShowPosition <> 1 Then
SSW.View.GotoSlide 1: Exit Sub
End If
'
If SSW.View.CurrentShowPosition = 1 And FReady = False Then
Call ppp 'Inizializza logger
Exit Sub
End If
'
Open myFFile For Append As #11
Print #11, "Slide " & mySlide; " - "; "Enter time " & timeIn; " - "; _
"Tempo di sosta " & Format(Timer - timeIn, "0.###"); ""
Close #11
timeIn = Timer: mySlide = SSW.View.CurrentShowPosition
End Sub
Sub OnSlideShowTerminate(ByVal Wn As SlideShowWindow)
FReady = False
End Sub
Flash30005 ha scritto:Si potrà pur fare ma senza il file non si fa nulla
Torna a Applicazioni Office Windows
| Macro modifica date scelta periodo Autore: Ricky0185 |
Forum: Applicazioni Office Windows Risposte: 11 |
| Supporto per sviluppo macro VBA Ordinare per data Autore: Carletto Ribolla |
Forum: Applicazioni Office Windows Risposte: 3 |
Visitano il forum: Nessuno e 23 ospiti