I'd like to preface that yes, I am new, but I am also not looking to dive super deep into this language. I'm just trying to get this one book setup for now... This is also my first post & day here, so hello!
I have a defined range in a "Form" sheet, and I even did the "option explicit" thing and set it as
Set to:
"notebx_label" and "Note" are cells I named.
I've called it in the "ThisWorkbook" section under a general "Workbook_Open()" public sub to set the text of the cells to white (to hide them without hiding the entire column) as such:
and it works fine!
But in a module on its own that I also have set to a Public sub, I called it the same way:
and it gives me an error for "1004 - method 'range' of object '_global' failed"
How is it different? It's called in the workbook and it works just fine! why doesn't it work in the module? I have everything set to public etc. in an attempt to get everything called properly.
Not sure how to insert the whole code, but I did pictures:
ExcelVBA1.png
ExcelVBA1.5_.png
ExcelVBA2.png
Bookmarks