Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
XP XP is offline
external usenet poster
 
Posts: 389
Default Obviate need for reference to Extensibility?

Using Office 2007 and Win XP;

If possible, could someone please modify the following function in such a
way that I would no longer have to reference Microsoft Visual Basic
Extensibility? (watch for line wrapping)

Public Function ProcedureExists(argProcedureName As String, argModuleName As
String) As Boolean
'returns true if a procedure already exists:
On Error Resume Next
ProcedureExists =
ActiveWorkbook.VBProject.VBComponents(argModuleNam e).CodeModule.ProcStartLine(argProcedureName, vbext_pk_Proc) < 0
End Function

Thanks much in advance for your assistance.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extensibility Library Mike Molyneaux Excel Programming 5 March 2nd 06 07:06 PM
Lost VBA extensibility library reference VanS[_2_] Excel Programming 7 January 28th 05 11:19 AM
VBA extensibility Library aspadda[_2_] Excel Programming 3 November 19th 04 03:39 AM
VBA Extensibility R Avery Excel Programming 4 May 21st 04 03:49 PM
VBA Extensibility problem R Avery Excel Programming 5 May 21st 04 03:18 PM


All times are GMT +1. The time now is 12:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"