Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [V8i VBA] How to determine a form control's object name?

$
0
0

[quote user="Barry Lothian"]Why double, as I am dealing with typed values of 0 to 255, is there any reason not to define number as integer or long?[/quote]

Dim number As Long
number = CLng (.Value)

In the case of values 0..255, Integer is just as good.

[quote user="Barry Lothian"]I was wondering if there was a method to determine the control name[/quote]

Yes, you can do stuff like that.  Fire that question at Google and see what you get.  There are plenty of people writing VBA for Office apps. who have asked & solved similar questions.


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>