Hello All,
I am trying to learn how to reference the personal.xlsb and I don't see a way. I was thinking there were be some reference close to
Thanks![]()
Please Login or Register to view this content.
M
Hello All,
I am trying to learn how to reference the personal.xlsb and I don't see a way. I was thinking there were be some reference close to
Thanks![]()
Please Login or Register to view this content.
M
Have you tried using Workbooks("personal.xlsb").VBProject?
If posting code please use code tags, see here.
Norie,
Thanks for the response
I will try that. Not sure if it will work for my application, but I'll let you know!
Norie,
No luck. This creates a type error. My code is used to export all the modules from the personal.xlsb, but I am not sure how to reference it specifically.
The full line of code is
![]()
Please Login or Register to view this content.
Why don't you have VBProject after Workbooks("personal.xlsb")?
Without that Application.Workbooks("personal.xlsb") will return a reference to a workbook, hence the type mismatch.![]()
Norie,
Thanks! I don't think I have a good understanding of the container set up in vba. That worked perfect. I figured I would have to say .vbproject first.
As usual you were a big help.
Best,
M
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks