Ya hay algunas cosas colgadas en la web así que ya vuelve a estar disponible.
Function whExisteProcedimiento(strProcedure As String) As Boolean
WizHook.Key = 51488399
whExisteProcedimiento = WizHook.GlobalProcExists(strProcedure)
End Function
Private Sub DateField_GotFocus()
DoCmd.RunCommand acCmdShowDatePicker
End Sub
Private Sub DateField_Change()
Me.AnotherControl.SetFocus
End Sub
Private Sub DateField_AfterUpdate()
'AfterUpdate code goes here
End Sub
Private Sub Form_Load()
Me.TimerInterval = 1
End Sub
Private Sub Form_Timer()
Me.TimerInterval = 0
Me.DateField.SetFocus
DoCmd.RunCommand acCmdShowDatePicker
End Sub
Option Compare Database
Option Explicit
Private Declare Function GetLongPathName Lib "kernel32" _
Alias "GetLongPathNameA" _
(ByVal lpszShortPath As String, _
ByVal lpszLongPath As String, _
ByVal cchBuffer As Long) As Long
Private Declare Function GetShortPathName Lib "kernel32" _
Alias "GetShortPathNameA" _
(ByVal lpszLongPath As String, _
ByVal lpszShortPath As String, _
ByVal lBuffer As Long) As Long
Function GetLongName(ShortPath As String) As String
Dim LenLongName As Long
Dim buffer As String * 1000
LenLongName = GetLongPathName(ShortPath, _
buffer, Len(buffer))
If LenLongName Then
GetLongName = Left$(buffer, LenLongName)
End If
End Function
Function GetShortName(LongPath As String) As String
Dim LenShortName As Long
Dim buffer As String * 1000
LenShortName = GetShortPathName(LongPath, _
buffer, Len(LongPath))
If LenShortName Then
GetShortName = Left$(buffer, LenShortName)
End If
End Function
Application.LanguageSettings.LanguageID(msoLanguageIDUI)
xls.ActiveSheet.Cells(1, 255).FormulaR1C1 = "=COUNTA(C1)
UltimaFila = xls.ActiveSheet.Cells(xls.ActiveSheet.Rows.Count, 1).End(xlUp).Row
UltimaColumna = xls.ActiveSheet.Cells(1, xls.ActiveSheet.Columns.Count).End(xlToLeft).Column
Set xlsApp = CreateObject("Excel.Application")
xlsApp.EnableEvents = False
xlsApp.Workbooks.Open "ElFichero"
Dim varitem
Dim strTmp As String
Dim strIN As String
For Each varitem In Me!cboEjemplo.ItemsSelected
strTmp = strTmp & ", " & Me!cboEjemplo.Column(0, varitem)
Next
strIN = "IN (" & Mid(strTmp, 3) & ")"