From: "Dimmer" Newsgroups: comp.lang.basic.visual.misc References: <4e8df7f8$1@dnews.tpgi.com.au> <01cc847e$07167600$6d01a8c0@k8s8x> Subject: Re: Newbie question about nested subroutines Date: Fri, 7 Oct 2011 12:15:09 +1100 Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 203.219.176.51 X-Original-NNTP-Posting-Host: 203.219.176.51 Message-ID: <4e8e52a6$1@dnews.tpgi.com.au> X-Trace: dnews.tpgi.com.au!tpg.com.au 1317950118 203.219.176.51 (7 Oct 2011 12:15:18 +1000) Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.mb-net.net!open-news-network.org!newsfeed.x-privat.org!itgate.net!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!nntp3.phx1!dnews.tpgi.com.au!tpg.com.au!not-for-mail Xref: x330-a1.tempe.blueboxinc.net comp.lang.basic.visual.misc:449 Hi again Bob Looking at my code, I originally got most of it exactly as you have just shown me but without the ByVal. It now works fine (once I had realised that there's no space between By and Val!) A great introduction to this concept. Many thanks again. You approach in showing a practical snippet is just right for me.