Wrox Programmer Forums
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 30th, 2005, 11:12 AM
Registered User
 
Join Date: Sep 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Listing members

Hello all,
I'm a new user teaching myself the VBA language, been working on it a little less than a year.

This Spring I had my computer reformatted at my college and apparently I got a new version of excel loaded on.

I remember previously when I started typing in an object it would list all the members of it for me. For example when I typed in sheets(1). it would show me the list of all the commands I could have after the . (activate, add comment, value). Now when I type in sheets(1). I get nothing.

When I do it with range, I still get a list of possible commands, but not with any other functions. I am using microsoft excel 2003 and DO have the auto-list members option checked in the options menu. Any idea why my compiler isn't auto-listing the options anymore?

 
Old October 6th, 2005, 05:09 AM
Authorized User
 
Join Date: Feb 2005
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I have had this same problem a few months ago. My code even crashed on simple statements like Sheet1.Range("A1").Value = 12 (this due to the compilor not making visible the options)
Here is what I did:

-remove all modules from your workbook, and save them somewhere on your computer (right-click on a module, then select export)
-export your sheets code as well (if you have any)
-save the workbook, re-open it and goto VBE.
-here import your modules and sheet modules (File>Import File)
-if you have everything back to normal, save the workbook again.
-again re-open it, and it should work fine now.

Now if this doesn't work, try the following. Open your workbook, and goto File>Save As. Here choose the Type to Excel 97-2000 workbook.

Hope this will help
-Max






Similar Threads
Thread Thread Starter Forum Replies Last Post
Listing 8-10 and Listing 8-16. Asp.Net BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 1 February 6th, 2008 01:11 PM
Members of File System Coby Access VBA 5 April 25th, 2007 03:07 PM
Members list happygv Forum and Wrox.com Feedback 9 April 10th, 2007 11:33 AM
Private members in constructors shortt BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 2 May 16th, 2005 03:03 PM
Discount For P2P Members? anand_thakur Forum and Wrox.com Feedback 0 January 28th, 2005 09:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.