Declaring Variables Public

  • Thread starter Thread starter ob3ron02
  • Start date Start date
O

ob3ron02

I had tried

Public Const MyConst As String
MyConst = "ABCD"

outside of any subroutine, but I didn't think to try it all as on
statement.

Thanks again Tom
 
All constants, whether public or not, are assigned their value in the CONST
statement. See Help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top