I\'m trying to open a workbook through my marco script and I have this error recurring everytime I try to open a workbook. The problem I\'m facing is that when I use
<
If you want to use a workbook opened with vba, you need to Set a reference to it, like so
Set
Dim wb as Workbook Set wb = Workbooks.Open(string of path and filename)
Then you can go on referencing the Workbook object, wb and use its methods and refer to its properties.
Workbook
wb