Message 1 of 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hello forum,
I have a task to import a value from excel cell to an lookup table value named as "Tag1" which to be changed.
I have placed a sample code below. I am not sure how to do the process. Please make changes in the below code.
(setq cell (vlax-variant-value (vlax-get-property rng 'Item (vlax-get-property xlCell "Row") (+ 6 (vlax-get-property xlCell "Column")) ) ) ) (vl-some '(lambda (x) (if (= (vlax-get x 'tagstring) "Tag1") (vla-put-textstring x (RTOS (vlax-variant-value (vlax-get-value cell 'value2)) 2 2 )))) (vlax-invoke obj (get-properties "Tag1" BlockRefObj)))
Solved! Go to Solution.