|
-
Aug 24th, 2004, 02:19 PM
#1
Thread Starter
Lively Member
Generate Excel sheet through coding in VB?
Hello,
In my application i am generating execel sheet through coding. But it makes my application very slow.
is there any other more efficient and optimized way to do this.?
is it possible to run pre-defined macro in VB at runtime which accept data and generate excel sheet?
All inputs are welcomed.
Thanks in advance.
~~~......Hope never dies. one has to work for it to make it reality.......~~~
-
Aug 24th, 2004, 02:31 PM
#2
If the columns are not going to change then you could create a
template. Populate the template with your recordset data and
then view in Excel.
Is this an option?
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 
-
Aug 24th, 2004, 02:45 PM
#3
Thread Starter
Lively Member
Hii,
I have never generated template. what should i do? can you provide me example or link to example?
Thanks for quick reply.
HDave
~~~......Hope never dies. one has to work for it to make it reality.......~~~
-
Aug 24th, 2004, 03:26 PM
#4
Just create a new Workbook and format it the way you want and save it as something.xlt. Thats all there is to it.
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 
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
|