You can remove a Dynamics GP window from your VBA project, but you can't easily remove an individual field from your VBA project. So if you add a field to your VBA project, and then you later remove that field from your modified GP window, you start to get error messages when you login to Dynamics GP:
"microsoft dynamics gp.vba project references some objects that cannot be found"
To fix that:
The steps to remove a field reference from a VBA Project are: 1. Export your Form with VBA to a .package file (Tools>>Customize>>Customization Maintenance). 2. Open the .package file with notepad and find the references to the field you need to remove. 3. Remove any references to your field. Most importantly, remove the WindowField reference. This is how VBA knows about the field. It will look like this: WindowField "Transfer Button" ProgrammerName "Transfer Button" 4. Save your .package file and import the modified version. (Tools>>Customize>>Customization Maintenance). NOTE: The technique described here directly modifies the contents of a customization package with Notepad. This technique is not supported by Microsoft Dynamics GP support.