View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
[email protected] musicalhacksaw@yahoo.co.uk is offline
external usenet poster
 
Posts: 15
Default Getting a message box program to run (Page 43 of 'BeginningProgramming with VBA' by Duane Birnham)

-

lastName = Mid(userName, spacelLoc + 1, strLength - spaceLoc)

I changed the line of code above in 'Notepad' so there were no gaps, but putting it back into the Visual Basic window, it seems to automatically rearrange itself, with the gaps that it originally had.