• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 108
  • Last Modified:

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

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
DPPro
Asked:
DPPro
1 Solution
 
sujmagsCommented:
I am not clear with ur question, pl. explain in detail
0
 
VBDesignsCommented:
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
 
deightonCommented:
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
 
FoyalCommented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now