|
-
Mar 3rd, 2008, 12:33 PM
#1
[RESOLVED] Close Specific WorkBook - Excel VBA
I have two workbooks open (actually, they are two completely separate Excel Files - those are workbooks, right?) I want to close one of them but not both of them.
WorkBooks.Close Book2 gives me an error of "Wrong number of arguments or invalid property assignment"
I looked up Workbooks.Close and find that it does not have, or require, any arguements.....(which would make sense given the error), it just closes everything that is open.
As mentioned, I don't want both files to be closed, just one of them.
So, how would I do that?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|