그것은 shape not found
또는이 항상 작동
...
dim ovp as visio.page
dim ovs as visio.shape
...
for each ovs in ovp.shapes
if ovs.name = "#shapename#" then
...do something with the shape
end if
next
유사한
같은 오류를 제공합니다. 왜 그런가? 당신이set ovs = ovp.shapes("#shapename#")
을 수행 할 때 VBA는 대소 문자를 구분하는 방식으로, 모양 이름을 정확히 일치를 찾고 있습니다
:
나는 다음날 Visio에 액세스 할 수 없지만 이것은 아마도 그 이유 일 것입니다 –