Re: $$Excel-Macros$$ Dynamic calendar quiz : There is a prize for the winner.

2012-11-28 Thread Secret Shot
Submitted :)


On Mon, Nov 26, 2012 at 10:49 PM, Ayush Jain jainayus...@gmail.com wrote:

 Thanks Vinay

 Dear Group, only 6 days left for the quiz, give it a try and you will
 learn something new

 Looking forward to your active participation

 Thanks

 Best regards
 Ayush Jain
 Group manager

 On Nov 26, 2012 7:52 AM, VINAY GUPTA vinaygupta...@gmail.com wrote:
 
  Submitted.
  Regards,
  Vinay Gupta
 
  On Sun, Nov 18, 2012 at 9:53 PM, Ayush Jain jainayus...@gmail.com
 wrote:
 
  Dear members,
 
  Let's get set for the new year 2013
 
  Here is inviting you to participate in a quiz to make calendar for the
 new year in excel.
 
  There are some rules to be followed :
  1) No macros to be used and should be formula based, only xlsx file to
 be submitted.
  2) The calendar should be dynamic for any year, if you change the year
 , the calendar should update automatically.
  3) The calendar should be in one sheet only
  4) The leap year should be considered.
  5) Last date to submit the calendar is 2nd December 2012
  6) Make sure you create calendar yourself and do not download from
 anywhere
  7) Send your calendar to my email id - jainayush85[at]gmail.com. If
 you post in the forum, there are chances people take reference from your
 calendar.
  8) Once you send the calendar, you can reply to this post for the
 confirmation.
 
  The following will add points to your calendar :
  1) Highlight current date
  2) Highlight bank/public holidays
  3) Calendar formatting and user friendliness
 
  There is a prize for the best calendar and recognition for the runner
 up.
  Sponsors for the prize are invited, you can contact me if you want to
 be sponsor.
 
  Looking forward to your active participation in the quiz. Let me know
 if you have any queries.
 
  Many thanks for your contribution to this group. Keep it up
 
  Regards
  Ayush Jain
  Group Manager
 
  --
  Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel
 
  FORUM RULES
 
  1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
  2) Don't post a question in the thread of another member.
  3) Don't post questions regarding breaking or bypassing any security
 measure.
  4) Acknowledge the responses you receive, good or bad.
  5) Jobs posting is not allowed.
  6) Sharing copyrighted material and their links is not allowed.
 
  NOTE : Don't ever post confidential data in a workbook. Forum owners
 and members are not responsible for any loss.
  ---
  You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
  To post to this group, send email to excel-macros@googlegroups.com.
  To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com.
  Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 
 
 
 
  --
  Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel
 
  FORUM RULES
 
  1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
  2) Don't post a question in the thread of another member.
  3) Don't post questions regarding breaking or bypassing any security
 measure.
  4) Acknowledge the responses you receive, good or bad.
  5) Jobs posting is not allowed.
  6) Sharing copyrighted material and their links is not allowed.
 
  NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
  ---
  You received this message because you are subscribed to the Google
 Groups MS EXCEL AND VBA MACROS group.
  To post to this group, send email to excel-macros@googlegroups.com.
  To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com.
  Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 
 

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to excel-macros@googlegroups.com.
 To unsubscribe from this group, send email to
 

$$Excel-Macros$$ Join this Group

2012-11-28 Thread Manjunath Narayanappa
Dear Experts,

One of my friend wanna join this Group but I donna how to add him.

Thanks
Manjunath



PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS E-MAIL



For Aon's standard conditions associated with this e-mail please visit 
http://www.aon.com/uk/en/email-footer/aon-uk-limited.jsp

Aon UK Limited

Registered Office: 8 Devonshire Square, London EC2M 4PL

Registered in London No. 210725 . VAT Registration No. 480 8401 48



Aon UK Limited is authorised and regulated by the Financial Services Authority 
in respect of insurance mediation activities only.

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ Join this Group

2012-11-28 Thread Kuldeep Singh
Hi Manjunath,

http://www.discussexcel.com/

Open this link  click join this group.

Regards,
Kuldeep Singh
Info Edge India Limited (naukri.com)
Phone.: +91-120-4763789, Extn.: 789
naukrikuld...@gmail.com || www.naukri.com
*Please* *Consider the environment. Please don't print this e-mail unless
you really need to.*

On Wed, Nov 28, 2012 at 5:26 PM, Manjunath Narayanappa 
manjunath.narayana...@aon.co.uk wrote:

 One of my friend wanna join this Group but I donna how to add him.


-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




RE: $$Excel-Macros$$ Join this Group

2012-11-28 Thread Manjunath Narayanappa
Dear Kuldeep,

Thank you so much

Regards
Manjunath

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On 
Behalf Of Kuldeep Singh
Sent: 28 November 2012 12:15
To: excel-macros@googlegroups.com
Subject: Re: $$Excel-Macros$$ Join this Group


Hi Manjunath,

http://www.discussexcel.com/

Open this link  click join this group.

Regards,
Kuldeep Singh
Info Edge India Limited (naukri.comhttp://naukri.com/)
Phone.: +91-120-4763789, Extn.: 789
naukrikuld...@gmail.commailto:naukrikuld...@gmail.com || 
www.naukri.comhttp://www.naukri.com/
Please Consider the environment. Please don't print this e-mail unless you 
really need to.

On Wed, Nov 28, 2012 at 5:26 PM, Manjunath Narayanappa 
manjunath.narayana...@aon.co.ukmailto:manjunath.narayana...@aon.co.uk wrote:
One of my friend wanna join this Group but I donna how to add him.
--
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
---
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.





PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS E-MAIL



For Aon's standard conditions associated with this e-mail please visit 
http://www.aon.com/uk/en/email-footer/aon-uk-limited.jsp

Aon UK Limited

Registered Office: 8 Devonshire Square, London EC2M 4PL

Registered in London No. 210725 . VAT Registration No. 480 8401 48



Aon UK Limited is authorised and regulated by the Financial Services Authority 
in respect of insurance mediation activities only.

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




$$Excel-Macros$$ Insert Multiple mails as icons into excel

2012-11-28 Thread Shaik Waheed
Hi All,

I need to insert multiple mail objects into excel. I have around hundred of
mails in a folder in my outlook. I have tried it to save individually and
then insert, but its a time consuming process, If you guys can suggest a
better way to get this done will be great.

Thanks,
Waheed

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ Join this Group

2012-11-28 Thread Paul Schreiner
Manjunath,

At the bottom of each email, there is a line:

Visit this group at http://groups.google.com/group/excel-macros?hl=en.

This link should take you to the group page and liks at the top allow you to 
sign up.

I'm not sure what 

www . discussexcel . com 

is

Paul
-
“Do all the good you can,
By all the means you can,
In all the ways you can,
In all the places you can,
At all the times you can,
To all the people you can,
As long as ever you can.” - John Wesley
-





From: Kuldeep Singh naukrikuld...@gmail.com
To: excel-macros@googlegroups.com
Sent: Wed, November 28, 2012 7:15:37 AM
Subject: Re: $$Excel-Macros$$ Join this Group


Hi Manjunath, 

http://www.discussexcel.com/

Open this link  click join this group.

Regards,
Kuldeep Singh
Info Edge India Limited (naukri.com)
Phone.: +91-120-4763789, Extn.: 789
naukrikuld...@gmail.com || www.naukri.com
Please Consider the environment. Please don't print this e-mail unless you 
really need to.

On Wed, Nov 28, 2012 at 5:26 PM, Manjunath Narayanappa 
manjunath.narayana...@aon.co.uk wrote:

One of my friend wanna join this Group but I donna how to add him.-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE : Don't ever post confidential data in a workbook. Forum owners and 
members 
are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




$$Excel-Macros$$ Need a Macros to Split spreadsheets

2012-11-28 Thread Santhosh Kumar M K
 Hi Friends,

Need your help on the below. Please find atatched sample report.

1) Split the tabs into differnt file.
2) Give file name as Account Reciveable - Tab name and save it in a
specific folder (Week 46).

Let me lnow if you are unclear on this.

Regards,
Santhosh

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Sample Report.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


Re: $$Excel-Macros$$ Need a Macros to Split spreadsheets

2012-11-28 Thread vijayajith VA
Hi santhosa,

Press Alt +11
Use below --code..

Change accordingly..
Sub Macro1()

ChDir Your Path

Dim wrksht As Worksheet

For Each wrksht In ThisWorkbook.Worksheets
wrksht.Select
wrksht.Copy
ActiveWorkbook.SaveAs Filename:= your path  wrksht.Name  .xlsx
ActiveWindow.Close
Next

End Sub

On Wed, Nov 28, 2012 at 6:39 PM, Santhosh Kumar M K mks@gmail.comwrote:

 Hi Friends,

 Need your help on the below. Please find atatched sample report.

 1) Split the tabs into differnt file.
 2) Give file name as Account Reciveable - Tab name and save it in a
 specific folder (Week 46).

 Let me lnow if you are unclear on this.

 Regards,
 Santhosh

  --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to excel-macros@googlegroups.com.
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.




-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ Need a Macros to Split spreadsheets

2012-11-28 Thread vijayajith VA
Hi Santhos.

Place a  folder in desktop.
change..according to week..

Sub Macro1()

ChDir C:\Documents and Settings\user\Desktop\week 46

Dim wrksht As Worksheet

For Each wrksht In ThisWorkbook.Worksheets
wrksht.Select
wrksht.Copy
ActiveWorkbook.SaveAs Filename:=Account Reciveablewrksht.Name 
.xlsx
ActiveWindow.Close
Next

End Sub




Thanks
Regards.
Vijay M


On Wed, Nov 28, 2012 at 7:27 PM, vijayajith VA vijayajith...@gmail.comwrote:

 Hi santhosa,

 Press Alt +11
 Use below --code..

 Change accordingly..
 Sub Macro1()

 ChDir Your Path

 Dim wrksht As Worksheet

 For Each wrksht In ThisWorkbook.Worksheets
 wrksht.Select
 wrksht.Copy
 ActiveWorkbook.SaveAs Filename:= your path  wrksht.Name  .xlsx
 ActiveWindow.Close
 Next

 End Sub


 On Wed, Nov 28, 2012 at 6:39 PM, Santhosh Kumar M K mks@gmail.comwrote:

  Hi Friends,

 Need your help on the below. Please find atatched sample report.

 1) Split the tabs into differnt file.
 2) Give file name as Account Reciveable - Tab name and save it in a
 specific folder (Week 46).

 Let me lnow if you are unclear on this.

 Regards,
 Santhosh

  --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to excel-macros@googlegroups.com.
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.






-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ Join this Group

2012-11-28 Thread Ayush Jain
Hi Paul

Thanks for your response.
www.discussexcel.com is a website link to access this group. This was
created by me so that people don't need to remember the full link of Google
groups.

Regards
Ayush Jain

On Wed, Nov 28, 2012 at 6:07 PM, Paul Schreiner schreiner_p...@att.netwrote:

 c




-- 
Best regards,
Ayush Jain

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




$$Excel-Macros$$ Request for :Hide cell formula Protect that cell

2012-11-28 Thread amar takale
Hi all Champs
Can anybody tell me how to protect specific cell  hide that cell formula
only.I know how hide it (Format cell-hidden..).No one see that
formula  edit that cell only.
Regards
Amar

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




$$Excel-Macros$$ Re: To automatically display the correct month Min Max Value

2012-11-28 Thread Mohd Sanusi Mohd Noor
Dear experts,


Kindly find attached the excel spreadsheet which i need solution for excel
to automatically display the correct month for the min and max value (as
highlighted in yellow).


Your solution/advice on the above is highly appreciated.


Thank you

Best regards

Sanusi

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Min  Max.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


Re: $$Excel-Macros$$ Request for :Hide cell formula Protect that cell

2012-11-28 Thread vba
Hi

Protect sheet n keep cell format as locked.

Thanks//Vabs

Sent on my BlackBerry® from Vodafone

-Original Message-
From: amar takale amartak...@gmail.com
Sender: excel-macros@googlegroups.com
Date: Wed, 28 Nov 2012 12:42:16 
To: excel-macros@googlegroups.com
Reply-To: excel-macros@googlegroups.com
Subject: $$Excel-Macros$$ Request for :Hide cell formula  Protect that cell

Hi all Champs
Can anybody tell me how to protect specific cell  hide that cell formula
only.I know how hide it (Format cell-hidden..).No one see that
formula  edit that cell only.
Regards
Amar

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.



-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ Pasting from Excel to Word - Issue with Column Width(s)

2012-11-28 Thread Jewel Sharma
Dear Ashish,
The columns are fixed. The number of rows is not. The rows are deleted, 
depending upon whether or not data is entered in them. E.g. sometimes a 
table may have 20 rows, sometimes 30 and sometimes only 3.

To give an idea behind the whole thing:

   1. I have a comprehensive word template ~ 100 pages. Where-in lots of 
   tables are completely deleted, and in certain tables - specific rows are 
   deleted depending upon whether or not any data is entered in those 
   rows. All in all, the final report comes out to only 40-50 pages.
   2. Though the word template works fine, almost half of the time is spent 
   in deleting rows, deleting tables and providing suitable page-breaks 
   etc... to make the whole thing presentable.
   3. Also, a lot of erroneous entries are made by the user when entering 
   the data - such as wrong values (31 instead of 13), misplaced decimal 
   points (13.1 instead of 1,31) etc...
   4. The idea of using Excel is to firstly control the data entry (using 
   conditional formatting, or data validation rules) so that incorrect values 
   are flagged and secondly  to automate the deletion of undesired tables or 
   specific rows, as the case may be - this using VBA. This part is all 
   working fine in my Excel template. 
   5. However, as I said earlier, the final submission has to be in Word, 
   and so I need to transfer all these 30-40 Excel Worksheets on a Word 
   document, one behind the other, which is also working fine. I get the whole 
   data copy-pasted in exactly the same order as desired.
   6. The only issue where I struggle is with Column Width. When I 
   copy-paste from Excel to Word using VBA, the Column-Widths change for 
   certain cells and I'm unable to figure out why it is so; and also unable to 
   figure out any alternate methods to do so. 

Any guidance with this Column Width issue?

Regards,
Jewel

On Tuesday, 27 November 2012 22:37:18 UTC+8, ashish wrote:

 if you rows and columns are fixed why do u create a blank template in word 
 document , merge cells , row ,etc as per your need 

 Then run a  loop through all the cells in table to add data in word 
 document


 Regards
 Ashish

 On Tue, Nov 27, 2012 at 6:15 PM, Jewel Sharma jewel...@gmail.comjavascript:
  wrote:

 Guys - I'm facing issues with column width when pasting from Excel to 
 Word.
 Briefly,

- I have an Excel file comprising of several worksheets. Each 
worksheet comprises of several tables (with specific column width and row 
heights). 
- Certain cells within these tables are merged while others are 
single cells (not sure if this is relevant, just preempting a query).
- This sheet helps to collect the data in an orderly manner at the 
specified location (data is entered manually at the specified cells). 
- After all the data is gathered, I need to transfer (read 
copy-paste) it to a word document as the submission needs to be in MS 
 Word.
- When I do that, I find that column widths for certain cells are not 
maintained as they are in Excel - I observe both increase and decrease in 
Column Width sizes. 
- However, the results are consistent. By that I mean, everytime I 
run the macro, the same cells/or group of cells are affected.
- I have tried using Word Selection.PasteSpecial from within Excel 
with Link:= true and false both, Placement:=wdInLine 
 DisplayAsIcon:=False, 
Data:=wdPasteHTML 
- I have also tried using calling a function in the word document 
(Word Selection.PasteExcelTable False False False) from within excel, 
 but 
still having the same issue with the same cells. 

 Is there a solution to ensure that the column widths remain exactly the 
 same when pasting from Excel to Word?
 Has cell padding got anything to do with it? I noticed that the Excel 
 cells have zero padding, whereas the default indent in MS Word Tables is 
 0.19cm.

 Any help or guidance would be appreciated.
 Regards,

 Jewel

 PS: If a similar query has been posted before - kindly direct me to that 
 post.

 -- 
 Join official Facebook page of this forum @ 
 https://www.facebook.com/discussexcel
  
 FORUM RULES
  
 1) Use concise, accurate thread titles. Poor thread titles, like Please 
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice 
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security 
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.
  
 NOTE : Don't ever post confidential data in a workbook. Forum owners and 
 members are not responsible for any loss.
 --- 
 You received this message because you are subscribed to the Google Groups 
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to excel-...@googlegroups.comjavascript:
 .
 

Re: $$Excel-Macros$$ Re: To automatically display the correct month Min Max Value

2012-11-28 Thread ashish koul
=INDEX($5:$5,MATCH(C9,$6:$6,0))




On Thu, Nov 22, 2012 at 12:34 PM, Mohd Sanusi Mohd Noor
sanus...@gmail.comwrote:


 Dear experts,


 Kindly find attached the excel spreadsheet which i need solution for excel
 to automatically display the correct month for the min and max value (as
 highlighted in yellow).


 Your solution/advice on the above is highly appreciated.


 Thank you

 Best regards

 Sanusi

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to excel-macros@googlegroups.com.
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.






-- 
*Regards*
* *
*Ashish Koul*


*Visit*
*http://www.excelvbamacros.com/*
*http://www.accessvbamacros.com/*

P Before printing, think about the environment.

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ Re: To automatically display the correct month Min Max Value

2012-11-28 Thread Mohd Sanusi Mohd Noor
Dear Ashish,


Thank you very much for the solutions.

Best regards

Sanusi

On 28 November 2012 23:04, ashish koul koul.ash...@gmail.com wrote:

 =INDEX($5:$5,MATCH(C9,$6:$6,0))


-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ How to calculate Joining Date from a given job period!!!

2012-11-28 Thread karunanithi ramaswamy
Hi,
  Pl see the attached sheet.(you can also find the days between two dates)
  -R.Karunanithi.
 


 From: MRafique Ujjan imrafiqu...@gmail.com
To: excel-macros@googlegroups.com 
Sent: Monday, November 26, 2012 4:48 PM
Subject: $$Excel-Macros$$ How to calculate Joining Date from a given job 
period!!!
  

Dear All Excel Experts:

I am having a following problem.

I am given only total working days of an employee like 2 years 5 months  13 
days
Now i am asked to calculate joining date of each employee.

Therefore, i need your help in this regard I hope u will help me as this group 
helped me earlier. For any clarification please feel free to ask me. 

Thanks in advance

Muhammad Rafique Ujjan 
-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES
 
1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.
 
NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




joindate.xlsx
Description: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet


Re: $$Excel-Macros$$ small query about conditional formating

2012-11-28 Thread ashish koul
try these first

http://www.youtube.com/watch?v=LOaezdoyJDE
http://www.techrepublic.com/blog/10things/10-cool-ways-to-use-excels-conditional-formatting-feature/3166
http://www.homeandlearn.co.uk/excel2007/excel2007s6p2.html





On Wed, Nov 28, 2012 at 10:33 PM, Kenil Gala keni...@yahoo.com wrote:

 Hi,
 Pls help me to solve a small query.
 i have mentioned the query in the file attached.

 --
 Join official Facebook page of this forum @
 https://www.facebook.com/discussexcel

 FORUM RULES

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will not get quick attention or may not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any security
 measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not allowed.

 NOTE : Don't ever post confidential data in a workbook. Forum owners and
 members are not responsible for any loss.
 ---
 You received this message because you are subscribed to the Google Groups
 MS EXCEL AND VBA MACROS group.
 To post to this group, send email to excel-macros@googlegroups.com.
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.






-- 
*Regards*
* *
*Ashish Koul*


*Visit*
*http://www.excelvbamacros.com/*
*http://www.accessvbamacros.com/*

P Before printing, think about the environment.

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




$$Excel-Macros$$ How to determine the volume slabs for different price levels in excel?

2012-11-28 Thread Ashok Charan


I have set of historic data 
1. different price levels
2. quantity at that price levels

based on the above i need to arrive at the volume slabs like 
0-100 units, 100- 300 units etc and also what price needs to be fixed for 
that slab



i would like to know how this can be scientifically done using excel 
function
currently im not sure what volume slabs to be fixed and what price to be 
charged for that volume slab


pls help

thanks 
Ashok

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ Modify Code to to send range *

2012-11-28 Thread Hilary Lomotey
Thanks, Ashish for you time. i however get a debug error with this code

Sub send_emails(to1 As String, fld1 As String, body1 As String)


Dim olApp As Outlook.Application

thanks

On Tue, Nov 27, 2012 at 3:24 PM, ashish koul koul.ash...@gmail.com wrote:

 Sub emailstest()
' run loop here

 Dim bdy As String
 Dim bdyrng As Range
 Dim cl As Range

 Set bdyrng = Sheets(1).Range(g2:g50)

 For Each cl In bdyrng
 bdy = bdy  vbNewLine  cl.Text
 Next

 ' run loop here

 Call send_emails(Range(b2).Text, Range(c2).Text, bdy)

 End Sub



 Sub send_emails(to1 As String, fld1 As String, body1 As String)


 Dim olApp As Outlook.Application
 Dim olMail As MailItem

 Set olApp = New Outlook.Application
 Set olMail = olApp.CreateItem(olMailItem)

 With olMail
 .To = to1
 .Subject = Hello
 .Body = body1
 .Attachments.Add fld1
 .Send
 End With

 Set olMail = Nothing
 Set olApp = Nothing

 End Sub


-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




$$Excel-Macros$$ Code to refresh information from external data source

2012-11-28 Thread Hilary Lomotey
Hello Expert

can i get help with a code to refresh information coming from a data
source. i know the short cut ctrl + alt +f5 to refresh such data, but i
would be grateful to get a code to do that thanks

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ EMAIL AUTOMATION BY VBA OUTLOOK

2012-11-28 Thread Natron


 *Ashish, you are awesome!*


-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.




Re: $$Excel-Macros$$ Modify Code to to send range *

2012-11-28 Thread koul . ashish
Choose In tools ~reference ~ microsoft outlook

 
Sent on my BlackBerry® from Vodafone

-Original Message-
From: Hilary Lomotey resp...@gmail.com
Sender: excel-macros@googlegroups.com
Date: Wed, 28 Nov 2012 20:12:36 
To: excel-macros@googlegroups.com
Reply-To: excel-macros@googlegroups.com
Subject: Re: $$Excel-Macros$$ Modify Code to to send range *

Thanks, Ashish for you time. i however get a debug error with this code

Sub send_emails(to1 As String, fld1 As String, body1 As String)


Dim olApp As Outlook.Application

thanks

On Tue, Nov 27, 2012 at 3:24 PM, ashish koul koul.ash...@gmail.com wrote:

 Sub emailstest()
' run loop here

 Dim bdy As String
 Dim bdyrng As Range
 Dim cl As Range

 Set bdyrng = Sheets(1).Range(g2:g50)

 For Each cl In bdyrng
 bdy = bdy  vbNewLine  cl.Text
 Next

 ' run loop here

 Call send_emails(Range(b2).Text, Range(c2).Text, bdy)

 End Sub



 Sub send_emails(to1 As String, fld1 As String, body1 As String)


 Dim olApp As Outlook.Application
 Dim olMail As MailItem

 Set olApp = New Outlook.Application
 Set olMail = olApp.CreateItem(olMailItem)

 With olMail
 .To = to1
 .Subject = Hello
 .Body = body1
 .Attachments.Add fld1
 .Send
 End With

 Set olMail = Nothing
 Set olApp = Nothing

 End Sub


-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.



-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups MS 
EXCEL AND VBA MACROS group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.