|
|
|
снова Excel
|
|||
|---|---|---|---|
|
#18+
При выполнении следующего кода, компилятор выдаёт ошибку №5 (Invalid procedure Call or Argument). Подскажите где ошибка. With xls.ActiveSheet.QueryTables.Add(MDIForm1.conn, xls.Cells(6, 1), sql1) .FieldNames = False .Refresh End With ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.12.2007, 11:58 |
|
||
|
снова Excel
|
|||
|---|---|---|---|
|
#18+
Посмотри пример, может быть поможет: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50. 51. 52. 53. 54. 55. 56. 57. 58. 59. 60. 61. 62. 63. 64. 65. Как я понял QueryTables.add ожидает получить не объект Adodb.connection, a рекордсет или текстовую строку. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.12.2007, 09:37 |
|
||
|
|

start [/forum/topic.php?fid=60&msg=35039161&tid=2162878]: |
0ms |
get settings: |
8ms |
get forum list: |
13ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
153ms |
get topic data: |
9ms |
get forum data: |
3ms |
get page messages: |
33ms |
get tp. blocked users: |
1ms |
| others: | 228ms |
| total: | 452ms |

| 0 / 0 |
