|
|
|
Помогите с синтаксисом. Макрос Excell
|
|||
|---|---|---|---|
|
#18+
Нужно преобразовать данные в прайсе XLS следующим образом: есть 4 колонки, первая пустая, вторая название, третья единица измерения, четвертая цена. когда в строке во второй колонке есть значение, а в четвертой нету, скопировать его в переменную. Далее, когда во второй колонке и в четвертой есть данные, в первую вставить значение переменной. вот код: Код: plaintext 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2009, 16:07:26 |
|
||
|
Помогите с синтаксисом. Макрос Excell
|
|||
|---|---|---|---|
|
#18+
проблема решена: IsNull было заменено на IsEmpty. Но вот в чем разница? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2009, 16:21:25 |
|
||
|
Помогите с синтаксисом. Макрос Excell
|
|||
|---|---|---|---|
|
#18+
проблема решена: IsNull было заменено на IsEmpty. Но вот в чем разница? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2009, 16:32:58 |
|
||
|
Помогите с синтаксисом. Макрос Excell
|
|||
|---|---|---|---|
|
#18+
The Null value indicates that the Variant contains no valid data. Null is not the same as Empty, which indicates that a variable has not yet been initialized. It is also not the same as a zero-length string (""), which is sometimes referred to as a null string. Important Use the IsNull function to determine whether an expression contains a Null value. Expressions that you might expect to evaluate to True under some circumstances, such as If Var = Null and If Var <> Null, are always False. This is because any expression containing a Null is itself Null and, therefore, False. IsEmpty returns True if the variable is uninitialized, or is explicitly set to Empty; otherwise, it returns False. False is always returned if expression contains more than one variable. IsEmpty only returns meaningful information for variants. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 26.02.2009, 16:43:06 |
|
||
|
|

start [/forum/topic.php?fid=61&fpage=202&tid=2179756]: |
0ms |
get settings: |
10ms |
get forum list: |
20ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
298ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
40ms |
get tp. blocked users: |
2ms |
| others: | 230ms |
| total: | 619ms |

| 0 / 0 |
