Solved

Microsoft says it's proprietary!? Won't Answer

Posted on 1999-01-29
4
98 Views
Last Modified: 2010-05-03
I'm trying to develope my own routine in which when I create a sub or function End Sub Or End Function along with error handling code is automatically inserted. All has gone according to plan except I cannot get the End portion to know if I have created a Function or Sub Or What. Can You Help?
0
Comment
Question by:DPPro
4 Comments
 

Expert Comment

by:sujmags
Comment Utility
I am not clear with ur question, pl. explain in detail
0
 
LVL 2

Expert Comment

by:VBDesigns
Comment Utility
So, your add-in has a "Add Function" feature that allows you to enter the function name, just like the VBx IDE, and instead of putting the header and footer, you also put in the error handling code?

Doesn't your add-in know if you're doing a sub or function?
0
 
LVL 18

Expert Comment

by:deighton
Comment Utility
At the top of the function/sub you must be inserting either sub or function.  Can't you use the same process at the bottom of the function.  Have you code for this you can post?
0
 
LVL 3

Accepted Solution

by:
Foyal earned 300 total points
Comment Utility
Give me your e-mail address and I'll send program code for adding error traps to .frm files. You can probably figure out the rest.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now