|
|
|
VBA Invalid procedure call в OpenTextFile
|
|||
|---|---|---|---|
|
#18+
Добрый день Ругается на строку Set f = fs.OpenTextFile("c:\testfile.txt", ForAppending, TristateFalse) Пишет Invalid procedure call or argument Пример взят из Help-a: Код: plaintext 1. 2. 3. 4. 5. 6. 7. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.11.2010, 09:29 |
|
||
|
VBA Invalid procedure call в OpenTextFile
|
|||
|---|---|---|---|
|
#18+
Исправил ForAppending = 3 на ForAppending = 8 - заработало почему? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.11.2010, 09:38 |
|
||
|
VBA Invalid procedure call в OpenTextFile
|
|||
|---|---|---|---|
|
#18+
Тема закрыта - внимательнее буду читать справки: Constant Value Description ForReading 1 Open a file for reading only. You can't write to this file. ForAppending 8 Open a file and write to the end of the file. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 09.11.2010, 09:40 |
|
||
|
|

start [/forum/search_topic.php?author=tolstys&author_mode=last_posts&do_search=1]: |
0ms |
get settings: |
6ms |
get forum list: |
9ms |
get settings: |
6ms |
get forum list: |
15ms |
get settings: |
9ms |
get forum list: |
12ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
31ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
26ms |
get tp. blocked users: |
1ms |
| others: | 1181ms |
| total: | 1310ms |

| 0 / 0 |
