snasui.com ยินดีต้อนรับ ยินดีต้อนรับสู่กระดานถามตอบ Excel and VBA และอื่น ๆ ที่เป็นมิตรกับทุกท่าน มีไฟล์แนบมหาศาล ช่วยให้ท่านค้นหาและติดตามศึกษาได้โดยง่าย สมาชิกท่านใดที่ยังไม่ได้ระบุ Version ของ Excel ที่ใช้งานจริง สามารถทำตาม Link นี้เพื่อจะได้รับคำตอบที่ตรงกับ Version ของท่านครับ ระบุ Version ของ Excel
1.เมื่อทำการกด import data (from Microsoft Access) จะมีข้อความนี้ขึ้นมา " License information for this component not found. You don't have an appropriate license to use this functionality in the design environment"
โคดตามนี้ครับ
Sub ImportCommand()
GetCancel = False
mydate = Me.Cells(4, 10)
If mydate = "" Then Exit Sub
If IsDate(mydate) = False Then Exit Sub
mydate = CDate(mydate)
'Me.Cells(4, 10) = mydate
Call Me.GetData_Parent(mydate)
If GetCancel = True Then Exit Sub
Call Me.GetData_Child(mydate)
End Sub
2.ได้ทำตามคำแนะนำที่ขึ้นมา "help" โดยลิ้งไปที่website ของ Microsoft
" License information for this component not found. You don't have an appropriate license to use this functionality in the design environment (Error 429)
You are not a licensed user of the ActiveX control. This error has the following cause and solution:
•You tried to place an ActiveX control on a form at design time or tried to add a form with an ActiveX control on it to a project, but the associated information in the registry could not be found.
The information in the registry may have been deleted or become corrupted. Reinstall the ActiveX control or contact the control vendor."