Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Excel 2003 VBA Programmer's Reference
This is the forum to discuss the Wrox book Excel 2003 VBA Programmer's Reference by Paul T. Kimmel, Stephen Bullen, John Green, Rob Bovey, Robert Rosenberg, Brian Patterson; ISBN: 9780764556609
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Excel 2003 VBA Programmer's Reference section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 12th, 2010, 05:51 AM
Registered User
 
Join Date: Nov 2010
Location: Yorkshire, UK
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 12 - Bulletproof

Having dowloaded the code for Excel 2003 VBA Programmer's Reference I have loaded the file bulletproof.xls.

The normal Excel interface looks as if it has failed to load anything, but after loading the VBE, the project explorer shows the 3 worksheets and and on entering the password their underlying code, as well as that of the two modules.

If I use the immediate window, "? worksheets.count" gives an error 1004,
and "?activeworkbook.name" gives an error 91.

If I create a new workbook and copy the code into identical worksheets and modules everything is OK and the above commands work perfectly.

What are the settings in the original workbook that cause Excel to produce these errors?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Generics chapter 12 difficult chapter i found ...? Larryz C# 2005 1 July 4th, 2007 09:40 PM
Errors on Chapter 12 example(12.8) sonnie ASP.NET 2.0 Professional 2 June 7th, 2006 10:55 AM
example in chapter 12 peterml JSP Basics 0 August 23rd, 2003 08:11 AM



All times are GMT -4. The time now is 05:08 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.