' Listing 3. Code Defining Buf as a Local Variable Sub AnotherProc Dim procCode procCode = "Sub Foo: Dim buf: buf = 1: End Sub" ExecuteGlobal procCode Foo End Sub