Product: | MicroStation | ||
Version: | 2023 | ||
Environment: | N\A | ||
Area: | Cells | ||
Subarea: | Replace Cell |
While this statement functions in V8i, it will not work in MicroStation 2023
SetCExpressionValue "tcb->activeCell", NewCell, "REPCELL"
MicroStation 2023 returns the following error:
VBA Run-time error "not a structure or union member"
Replace the following statement,
SetCExpressionValue "tcb->activeCell", NewCell, "REPCELL"
With
SetCExpressionValue "tcb->activeCellUtf16", NewCell, "REPCELL"
Original Author: |
Leonard Jones |