I have a form named "frmNon-Corpofferinformation". However, every time I try to reference it in VBA it automatically changes the name to "frmNon - Corpofferinformation" (Note the spaces in between "frmNon - Corp...". When it does this it is treating "FrmNon" as a variable and telling me I don't have the variable defined. I am trying to obtain a value within that form and need to reference the form. This is the code I want to use:
Code:
varDenFrameValue = form_frmNon-Corpofferinformation.frameDenialOptions.Value