ok grazie mille, adesso però ho un altro problema e cioè quello di automatizzare l'import del file csv in calendario di outlook tramite vba, perchè ho trovato un programma freeware che sincronizza il calendario di outlook con quello di google e quindi non ho avuto bisogno di usare le API. Ho trovato questo codice, ma non sono riuscito a capire come fare a fargli leggere le info dal mio file:
' The Outlook application model
Dim objOutlook As Outlook.Application
' The Outlook namespace for accessing folders
Dim objNamespace As Outlook.NameSpace
' An Outlook folder; will be the calendar
Dim objFolderCalendar As Outlook.MAPIFolder
' An appointment; remember to save it when done!
Dim newAppt As Outlook.AppointmentItem
Set objOutlook = Outlook.Application
' Get the Outlook namespace so you can access folders
Set objNamespace = objOutlook.GetNamespace("MAPI")
' Get the calendar folder
Set objFolderCalendar = objNamespace.GetDefaultFolder(olFolderCalendar)
'Create a new appt.
Set newAppt = objFolderCalendar.Items.Add
'Start some loop here
Dim i As Integer
'i = 2
For i = 2 To i
Set newAppt = objFolderCalendar.Items.Add
' set the start and end times from row i, columns B and D.
newAppt.Start = Cells(i, 2)
newAppt.End = CDate(Cells(i, 4))
'set more properties
' actually save it in Outlook
newAppt.Save
' clear the VBA object so you can use it again the next time around the loop
Set newAppt = Nothing
Next i
'End Loop