|
-
Dec 26th, 2004, 03:34 PM
#1
Thread Starter
Fanatic Member
Re: Excel and cross-workbook code
 Originally Posted by RobDog888
In the VBA Editor with the reference to your dll, use the Object Browser to see
if you can see your function in the module. If its declared as Public then it
should be visible in the OB.
They don't show up, and they are all declared public.
Don't pay attention to this signature, it's contradictory.
-
Dec 26th, 2004, 03:57 PM
#2
Re: Excel and cross-workbook code
I'm not 100% fluent at dlls, but it should be visible. What if you placed it in the class?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 27th, 2004, 11:53 AM
#3
Thread Starter
Fanatic Member
Re: Excel and cross-workbook code
 Originally Posted by RobDog888
I'm not 100% fluent at dlls, but it should be visible. What if you placed it in the class?
I tried placing it in the class, but I would have to rewrite all the functions calls to include the "class.", and the classes called by the dll would be different instances than the ones I called (inside one class another is called, so it must be declared with, etc.) I just decided that this type fo thing didn't belong inside a DLL.
Don't pay attention to this signature, it's contradictory.
-
Dec 27th, 2004, 01:24 PM
#4
Re: Excel and cross-workbook code
If a dll is no longer considered the way to go then what about the Add-In?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Dec 29th, 2004, 09:14 PM
#5
Thread Starter
Fanatic Member
Re: Excel and cross-workbook code
 Originally Posted by RobDog888
If a dll is no longer considered the way to go then what about the Add-In?
I just realized I can include a form in the dll, and use control arrays in excel!
I'm going to stay the path of 'copy-paste' for now.
Don't pay attention to this signature, it's contradictory.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|