|
-
Sep 8th, 2005, 02:19 AM
#1
Thread Starter
Addicted Member
Email A Worksheet (read It!)
Hi everyone!
I know the solution for this is given in the solutions. But my problem is bit diffrerent.
I have a gui It contains following components.
1. Select Worksheet to email(All he sheets comes in a listbox we can select any on of it.)
2. Select recipeient to whom u want to mail (I am getting the list from outlook contacts, But i am getting it in this form---- lastname,firstname----)
3.Enter message for the body
4. Enter subject
5. Send worksheet
Now i want to send the selected worksheet to the recipient in the textbox,In text box i dont have his/her email id so i have to take it from outlook by matching the name and lastname.
can u give me the solution
-
Sep 8th, 2005, 08:46 AM
#2
Re: Email A Worksheet (read It!)
what doesnt work? are you getting errors?
is it not sending?
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Sep 12th, 2005, 12:43 AM
#3
Re: Email A Worksheet (read It!)
Moved to Office Development Forum.
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 
-
Sep 12th, 2005, 06:30 AM
#4
Lively Member
Re: Email A Worksheet (read It!)
These files are in vb6 I think. Can't say for sure, but I cannot open them in Visual Studio.Net 2003, and I never used VB6 before.
This issue has been cross posted on other forums as well with no resolution because the project cannot be opened to check out what it going on.
#1) This line here:
VB Code:
ActiveSheet.Cells.Copy ' copy the contents of the ActiveSheet
Where is this coming from? The code above appears to instantiate Outlook, but then all of a sudden you are trying to copy the cells from an Excel file somewhere, but I don't know if you even have an Excel workbook open because the code that this is running in (guessing here) doesn't seem to be in an Excel file.
This issue needs resolved, is there an Excel workbook open when you press this button?
-
Sep 12th, 2005, 06:58 AM
#5
Thread Starter
Addicted Member
Re: Email A Worksheet (read It!)
i have not used activesheets.cell.copy
i have replaced all the ocurrences of activesheet by Sheets(List1)
project is not opening or what?
-
Sep 12th, 2005, 08:11 AM
#6
Lively Member
Re: Email A Worksheet (read It!)
No, I am not able to open the project you submitted here.
What are you using to build this project?
VB6 or Excel?
-
Sep 12th, 2005, 09:23 AM
#7
Re: Email A Worksheet (read It!)
If you dont have VB6 you can open the files using notepad, except for the .frx file and possible the .ctl file too.
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 
-
Sep 13th, 2005, 12:57 AM
#8
Thread Starter
Addicted Member
Re: Email A Worksheet (read It!)
its developed using vb 6 (activx control)
also need excel 200 or 2002 or 2003
-
Sep 13th, 2005, 12:57 AM
#9
Thread Starter
Addicted Member
Re: Email A Worksheet (read It!)
shall i attach it once again?
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
|