Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Grant Young   on Sep 17 In MS Office Category.

  
Question Answered By: Chau Tran   on Sep 17

What I would do is step through the code in the debugger and see if I could
catch it failing to see under what conditions it fails. It's so hard to
track down bugs that only happen sometimes, so I always try to figure out
what the conditions are that cause the failure. I would also break out each
action into a separate line of code so you might be able to narrow it down
even further. In this case, I would split up the .Add from the .SaveAs and
see if that helps you at all.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on workbooks.add Or get search suggestion and latest updates.


Tagged: