My attempt to circumvent my problem is not working either. Can't I pass me.myvar by ref ?' Minimal example type ttest myvar as Single myvar2 as single function _Create() MsgBox 0, str$(assign2(1.5, me.myvar)) ' error 'me.myvar2 = assign2(2.5, me.myvar) ' error End Function End Type dim testVar as ttest function Assign2(what as number, byref where as Number) as number 'error where = what Return where End Function
Bookmarks