I am rather new to excel programming and I am trying to figure out some basic things. First, I am not sure how to declare and set a public variable. For example, in my code, I have 2 constants that represent spreadsheets. The code looks like this:
I am not sure as to why this doesn't work.![]()
Please Login or Register to view this content.
Secondly I am trying to create a subroutine that looks for a column, row, or both that meet certain criteria. This could be a column that matches another field in my userform or has nothing in it. I wrote the following code that should work, but I don't know where to put it or how to call it once it is put there.
Any help would be greatly appreciated.![]()
Please Login or Register to view this content.
Bookmarks