Consulting

Results 1 to 10 of 10

Thread: Declared public variables have ceased to pick up values

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Declared public variables have ceased to pick up values

    Good day, all.
    EDIT: I've just found a missing line of code which solved the problem, so ignore this post.
    Can anyone please give me a clue as to what is happening here.

    While re-organizing the variables in a complex macro I have done something it takes exception to and it now completely ignores the variables declarations I have set up in a dedicated module containing nothing but public and global variable declarations and a few constants. I have tried shifting the code to a new module leaving the original empty but to no avail. I tried moving the code to the general section of the Workbook_Open event handler but it marked all the Constants (e.g. Public Const constSubSpecMarkerColumn as Byte = 3) in nasty bad-tempered red and refused to read any of it.
    I am puzzled. (Emoji scratching head)

    Ken
    Last edited by KenWilson; 11-11-2019 at 04:58 AM. Reason: Solved.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •