In my class mod, I have a class mod called InputBox
When I write the following in a workbook code window, and try to pass the object to the sub,
The LoopthroughFilesAndForEach gets highlighted in red and tells me "Expected: ="![]()
Dim inputBox1 As New inputBox LoopthroughFilesAndForEach (controlFile, inputBox1)
edit: nvm... i just needed to remove the parantheses.
Bookmarks