Re: $$Excel-Macros$$ Rajan Verma - Most Helpful Member October'12

2012-11-12 Thread Rajan_Verma
Thanks All, 

On Monday, 12 November 2012 10:24:55 UTC+5:30, ca_k...@yahoo.co.in wrote:

 Congratulations Rajan


 On Wed, Nov 7, 2012 at 6:17 PM, Karan Singh kara...@gmail.comjavascript:
  wrote:

 Congrats dude!!



 Karan Singh




 On Tue, Nov 6, 2012 at 5:51 PM, neeraj chauhan 
 neerajch...@gmail.comjavascript:
  wrote:

 congratulation Rajan sir.
  

  
 On Tue, Nov 6, 2012 at 5:36 PM, Govind Mori mori@gmail.comjavascript:
  wrote:

 Congrats Rajan

 On Mon, Nov 5, 2012 at 10:57 PM, Ayush Jain 
 jaina...@gmail.comjavascript:
  wrote:


 Dear members,
  
 Rajan Verma has been selected as 'Most Helpful Member' for the month 
 of Oct'12. He has posted 66 posts in last month and helped forum members 
 through his excel expertise.
 I truly appreciate his knowledge, consistency and commitment to the 
 group.
 *
 Rajan, please find enclosed the award certificate in honor of your 
 contribution. Congratulations and thanks for your contribution.
 *

 Thanks to Ashish, Paul, Manoj, Vabz, Pravin, Noorain and all other 
 folks for helping excel enthusiasts voluntarily !! 
 Keep posting.
  
 Regards,
 Ayush Jain
 Group Manager

 P.S. If you have any feedback, please share your thoughts by filling 
 the survey 
 formhttps://docs.google.com/spreadsheet/viewform?fromEmail=trueformkey=dHpYdmtTeWZBcEhDWDhmandNWDlpYXc6MQ.
  



  -- 
 Join official facebook page of this forum @ 
 https://www.facebook.com/discussexcel
  
 FORUM RULES (1120+ members already BANNED for violation)
  
 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) Cross-promotion of, or links to, forums competitive to this forum 
 in signatures are prohibited. 
  
 6) Jobs posting is not allowed.
  
 7) Sharing copyrighted ebooks/pirated ebooks/their links is not 
 allowed.
  
 NOTE : Don't ever post personal or 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:
 .
 To unsubscribe from this group, send email to 
 excel-macros...@googlegroups.com javascript:.
 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 (1120+ members already BANNED for violation)
  
 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) Cross-promotion of, or links to, forums competitive to this forum in 
 signatures are prohibited. 
  
 6) Jobs posting is not allowed.
  
 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
  
 NOTE : Don't ever post personal or 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:
 .
 To unsubscribe from this group, send email to 
 excel-macros...@googlegroups.com javascript:.
 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 (1120+ members already BANNED for violation)
  
 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) Cross-promotion of, or links to, forums competitive to this forum in 
 signatures are prohibited. 
  
 6) Jobs posting is not allowed.
  
 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
  
 NOTE : Don't ever post personal or 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 

Re: $$Excel-Macros$$ Rajan Verma - Most Helpful Member October'12

2012-11-12 Thread Divaker Pandey
Congrats Rajan.

On Mon, Nov 12, 2012 at 2:20 PM, Rajan_Verma rajanverma1...@gmail.comwrote:

 Thanks All,


 On Monday, 12 November 2012 10:24:55 UTC+5:30, ca_k...@yahoo.co.in wrote:

 Congratulations Rajan


 On Wed, Nov 7, 2012 at 6:17 PM, Karan Singh kara...@gmail.com wrote:

 Congrats dude!!



 Karan Singh




 On Tue, Nov 6, 2012 at 5:51 PM, neeraj chauhan neerajch...@gmail.comwrote:

 congratulation Rajan sir.



 On Tue, Nov 6, 2012 at 5:36 PM, Govind Mori mori@gmail.com wrote:

 Congrats Rajan

 On Mon, Nov 5, 2012 at 10:57 PM, Ayush Jain jaina...@gmail.comwrote:


 Dear members,

 Rajan Verma has been selected as 'Most Helpful Member' for the month
 of Oct'12. He has posted 66 posts in last month and helped forum members
 through his excel expertise.
 I truly appreciate his knowledge, consistency and commitment to the
 group.
 *
 Rajan, please find enclosed the award certificate in honor of your
 contribution. Congratulations and thanks for your contribution.
 *

 Thanks to Ashish, Paul, Manoj, Vabz, Pravin, Noorain and all other
 folks for helping excel enthusiasts voluntarily !!
 Keep posting.

 Regards,
 Ayush Jain
 Group Manager

 P.S. If you have any feedback, please share your thoughts by filling
 the survey 
 formhttps://docs.google.com/spreadsheet/viewform?fromEmail=trueformkey=dHpYdmtTeWZBcEhDWDhmandNWDlpYXc6MQ.



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

 FORUM RULES (1120+ members already BANNED for violation)

 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) Cross-promotion of, or links to, forums competitive to this forum
 in signatures are prohibited.

 6) Jobs posting is not allowed.

 7) Sharing copyrighted ebooks/pirated ebooks/their links is not
 allowed.

 NOTE : Don't ever post personal or 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.com.
 To unsubscribe from this group, send email to excel-macros...@**
 googlegroups.com.

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




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

 FORUM RULES (1120+ members already BANNED for violation)

 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) Cross-promotion of, or links to, forums competitive to this forum
 in signatures are prohibited.

 6) Jobs posting is not allowed.

 7) Sharing copyrighted ebooks/pirated ebooks/their links is not
 allowed.

 NOTE : Don't ever post personal or 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.com.
 To unsubscribe from this group, send email to excel-macros...@**
 googlegroups.com.

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




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

 FORUM RULES (1120+ members already BANNED for violation)

 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) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 6) Jobs posting is not allowed.

 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

 NOTE : Don't ever post personal or confidential data in a workbook.
 Forum owners and members are not responsible for any loss.
 ---
 You received this message because you 

$$Excel-Macros$$ Re: Guide me in modifying the included code to import data into the current active sheet

2012-11-12 Thread Prince
Hi Friend,

What i understand is you want to copy data from source workbook to selected 
target workbook for this purpose i have written this macro just copy and 
paste the macro and run it and let me know if it is what you required.


Public Sub GetDataFromFiles()

Dim intCtr  As Integer
Dim strFilesAs String

Dim wbkSAs Workbook
Dim wbkTAs Workbook

strSurce = Application.GetOpenFilename(*.xls,*.xlsx, , Select Source 
Files, , False)
If Not IsEmpty(strSurce) = False Then
MsgBox Please Select Source File...
Exit Sub
End If

strTarget = Application.GetOpenFilename(*.xls,*.xlsx, , Select 
Target Files, , False)
If Not IsEmpty(strTarget) = False Then
MsgBox Please Select Target File...
Exit Sub
End If

Set wbkS = Workbooks.Open(strSurce)
Set wbkT = Workbooks.Open(strTarget)

wbkS.Worksheets(1).UsedRange.Copy
wbkT.Worksheets(1).Range(A1).PasteSpecial
wbkT.Save
wbkS.Close
wbkT.Close

Set wbkS = Nothing
Set wbkT = Nothing

MsgBox Data has copied successfully.

End Sub





Regards
Prince dubey.


On Friday, November 9, 2012 11:55:42 PM UTC+5:30, Best Of Luck wrote:

 Hi,
  
 I was using the code below to import data into a Excel 2010 workbook with 
 only one sheet. I now have multiple sheets and I wont this macro to only 
 import the data into the active sheet. Here is the code. 
  
 Sub ImportCity()
 ' Get customer workbook...
 Dim customerBook As Workbook
 Dim filter As String
 Dim caption As String
 Dim customerFilename As String
 Dim customerWorkbook As Workbook
 Dim targetWorkbook As Workbook
 ' make weak assumption that active workbook is the target
 Set targetWorkbook = Application.ActiveWorkbook
 ' get the customer workbook
 filter = Text files (*.xlsx),*.xlsx
 caption = Please Select an input file 
 customerFilename = Application.GetOpenFilename(filter, , caption)
 Set customerWorkbook = Application.Workbooks.Open(customerFilename)
 ' assume range is A1 - C10 in sheet1
 ' copy data from customer to target workbook
 Dim targetSheet As Worksheet
 Set targetSheet = targetWorkbook.Worksheets(1)
 Dim sourceSheet As Worksheet
 Set sourceSheet = customerWorkbook.Worksheets(1)
 targetSheet.Range(A8, V100).Value = sourceSheet.Range(A8, 
 V100).Value
 ' Close customer workbook
 customerWorkbook.Close
 End Sub


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

FORUM RULES (1120+ members already BANNED for violation)

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)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or 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$$ reset dropdown text using macro in Menu Bar

2012-11-12 Thread Divaker Pandey
Hi All,
I have made a custom menu in my application name 'evaDimensions' using xml,
it have several other options ribbon tab, (See snapshot)
I have used a dropdown PRVit Score:
I need to reset dropdown text using macro, plz guide me to how i can access
this control using macro.
 Thanks in adavance.
Divaker

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

FORUM RULES (1120+ members already BANNED for violation)

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)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or 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$$ VBA CODE REQUIRED

2012-11-12 Thread Prince
Hi Prashant 


I Hope This will help you.

Public Sub Test()

Dim wks As Worksheet
Dim intCol  As Integer
Dim intRow  As Integer
Dim intRAs Integer

intR = 1
For Each wks In ThisWorkbook.Worksheets
If wks.Name  output Then
For intCol = 1 To wks.UsedRange.Columns.Count
For intRow = 1 To wks.UsedRange.Rows.Count
If IsNumeric(wks.Cells(intRow, intCol).Value) And 
Left(wks.Cells(intRow, intCol).Text, 1) = # Then
ThisWorkbook.Worksheets(output).Range(A  
intR).Value = wks.Name
ThisWorkbook.Worksheets(output).Range(B  
intR).Value = wks.UsedRange.Cells(intRow, intCol).Address
intR = intR + 1
End If
Next
Next
End If
Next
End Sub


Regards
Prince dubey.


On Sunday, November 11, 2012 2:27:07 PM UTC+5:30, ppawle.excel wrote:

 Dear Ashish,

 Thanks for the below code.

 But I need to get output as shown in the attached sheet  code should list 
 all narrow cells in that workbook.

 Regards

 Prashant

 On Sun, Nov 11, 2012 at 12:40 PM, ashish koul koul@gmail.comjavascript:
  wrote:


 Sub sample1()
 Dim wk As Worksheet
 Dim cl As Range
 Set wk = ActiveSheet
 For Each cl In wk.UsedRange.Columns
 If IsNumeric(cl.Cells(2, 1).Value) And Left(cl.Cells(2, 1).Text, 1) = 
 # Then
 MsgBox cl.Address(0, 0)
 End If
 Next
 End Sub



 On Sun, Nov 11, 2012 at 1:23 PM, Prashant Pawle 
 ppawle...@gmail.comjavascript:
  wrote:

 Dear Team,

 Need a code for listing cell references from all sheets which have too 
 narrow column width(#).

 Sample file attached

 Regards,

 Prashant

  -- 
 Join official facebook page of this forum @ 
 https://www.facebook.com/discussexcel
  
 FORUM RULES (1120+ members already BANNED for violation)
  
 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) Cross-promotion of, or links to, forums competitive to this forum in 
 signatures are prohibited. 
  
 6) Jobs posting is not allowed.
  
 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
  
 NOTE : Don't ever post personal or 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:
 .
 To unsubscribe from this group, send email to 
 excel-macros...@googlegroups.com javascript:.
 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 (1120+ members already BANNED for violation)
  
 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) Cross-promotion of, or links to, forums competitive to this forum in 
 signatures are prohibited. 
  
 6) Jobs posting is not allowed.
  
 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
  
 NOTE : Don't ever post personal or 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:
 .
 To unsubscribe from this group, send email to 
 excel-macros...@googlegroups.com javascript:.
 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 (1120+ members already BANNED for violation)

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 

$$Excel-Macros$$ Re: VBA : Class does not support automation error.

2012-11-12 Thread Prince
Hi Amol,

Can you please share ur workbook.


Regards
Prince



On Friday, November 9, 2012 12:08:39 PM UTC+5:30, Amol J wrote:

 Hello Experts,
  
  
 I need your expert advice.
  
 I created a tool using VBA form and OWC 10.0. I am exporting chart which 
 is on chartspace component(OWC 10.0). On some PC's tool is working fine, 
 but on other computers I am getting an error Class does not support 
 automation or does not support expected interface.
  
 I am using Windows 7 and office 2010
  
 I am not able to upload file because its to heavy 19 mb. Please find 
 attached error screenshot and highlighted line where i am getting this 
 error.
  
 Please let know the possible reasons and solutions for the same.
  
 Regards,
 Amol J


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

FORUM RULES (1120+ members already BANNED for violation)

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)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or 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$$ VBA CODE REQUIRED

2012-11-12 Thread Paul Schreiner
First of all..
You should consider Forum Rule #1)
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.

I suppose since the group title is: MS EXCEL AND VBA MACROS  
then some people may be asking Excel questions, 
but the majority of people participating in this group do so because: VBA CODE 
REQUIRED

Now.. on to your problem.

Your assumption that there should be some Excel status variable SOMEWHERE
that indicates when Excel must display  instead of a number is certainly 
logical.
After all, if you change the font (size or type) and sometimes even the zoom 
factor of 

the sheet, the cell content display changes to , so there MUST be something!

But, as  far as I know, there is no VBA function (that I am aware of) that can
determine this state.

I have hundreds of lines of code that are used specifically to determine this 
overflow state.
The truth is that whether a cell value can be displayed relies on many factors.
The font size and the font and the content itself.
Some fonts are proportional width fonts.. That is:
some characters are thinner than others: i takes up less space than O
Some fonts (Courier New) are fixed-width fonts.. That is:  all characters are 
the same width.
AND, the same characters and font are WIDER if they are BOLD.


So.. what I've done in the past is to create a hidden helper column.
Making it have the same content as the monitored column.
Create a change event in which each time the monitored column is changed,
the helper column is updated (including font selection) and an autofit is 
issued for the column.
Then compare the column width of the two columns.
If the helper column is larger than the monitored column, then the content 
has 
overflowed.

This technique is not 100% accurate.  Especially since changing the font or 
font 
size does
not trigger the change event.

It WOULD be nice if someone did know of a status code that would indicate an 
overflow condition.
It would save me lots of cpu cycles!

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: Prashant Pawle ppawle.ex...@gmail.com
To: excel-macros@googlegroups.com
Sent: Sun, November 11, 2012 2:54:25 AM
Subject: $$Excel-Macros$$ VBA CODE REQUIRED


Dear Team, 

Need a code for listing cell references from all sheets which have too narrow 
column width(#).

Sample file attached

Regards,

Prashant

-- 
Join official facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES (1120+ members already BANNED for violation)
 
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) Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

 
6) Jobs posting is not allowed.
 
7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
 
NOTE : Don't ever post personal or 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 (1120+ members already BANNED for violation)

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)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or 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 

Re: $$Excel-Macros$$ Code Problem

2012-11-12 Thread Paul Schreiner
You really should use a better subject.
just about everyone who posts here has a code problem
You have not provided any indication either in the subject, or the body
of your post as to what your problem is, or even the area of the problem.

Some people here are EXPERTS in the use of pivot tables.
Others are great with accessing specific databases,
or in emailing workbooks.

If your problem relates to one of these topics, you want these experts
to spot your question and jump right in.

As presented, your question requires research on our part before we
even know if we have the expertise (or interest) in helping.

And really, if the person you want to give you assistance only has 10 minutes
to share, you don't want him/her spending 9 of those minutes trying to decide
if your question is in his area of expertise.

As it is... you question is why the code:
Workbooks.Open (D:\12-13\book2.xls)

only works on one PC, and not the others.

My guess is that the other PC's do not have their D:\ drive is mapped the same 
as the first PC.

If you cannot go the machine in person and look for yourself,
I'd suggest send a link to the folder and see if they can open it.

Another item that's somewhat suspicious...
In nearly all of the PC's in my business (2,000 of them) and each of the (4) of 
my machines at home,
the C:\ is the internal hard drive, and D:\ drive is a CD drive or a second 
hard 
drive.
I believe Windows, by default, reserves the D:\ drive for use for removeable 
media.

I find the use here as suspicious.

I'd say, go to the machines and check it out.

 
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: SAJID MEMON sajidwi...@hotmail.com
To: Sundarvelan Natarajan excel-macros@googlegroups.com
Sent: Mon, November 12, 2012 9:41:10 AM
Subject: $$Excel-Macros$$ Code Problem


please guide me in my attachment file problem
 
Regards
 
Sajid 
-- 
Join official facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES (1120+ members already BANNED for violation)
 
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) Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

 
6) Jobs posting is not allowed.
 
7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
 
NOTE : Don't ever post personal or 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 (1120+ members already BANNED for violation)

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)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or 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$$ Modify VBA Code to Send Email Directly without Displaying

2012-11-12 Thread Hilary Lomotey
Hello Expects


I need assistance to modify the code below to send email straight away
without the mail poping out before its sent. The reason is if i have 100+
mails to send, it means i need to click send a 100+ times, and that is not
efficient. kindly modify the code to send the email without it being
displayed. thanks






Sub Send_Files()
'Working in 2000-2010
Dim OutApp As Object
Dim OutMail As Object
Dim sh As Worksheet
Dim cell As Range, FileCell As Range, rng As Range
Dim LValue As String

LValue = Format(Date, dd-mmm-yy, vbUseSystemDayOfWeek)

With Application
.EnableEvents = False
.ScreenUpdating = False
End With

Set sh = Sheets(Send Personal Email)

Set OutApp = CreateObject(Outlook.Application)

For Each cell In sh.Columns(B).Cells.SpecialCells(xlCellTypeConstants)

'Enter the file names in the C:Z column in each row
Set rng = sh.Cells(cell.Row, 1).Range(C1:Z1)

If cell.Value Like ?*@?*.?* And _
   Application.WorksheetFunction.CountA(rng)  0 Then
Set OutMail = OutApp.CreateItem(0)

With OutMail
.to = cell.Value
.Subject = Testfile as at   LValue
.Body = Hi   cell.Offset(0, -1).Value  vbNewLine 
Please find attached our Weekly report for the week ending   LValue 
.  _
 Please do not hesitate to contact me should if you have
any questions or comments

For Each FileCell In rng.SpecialCells(xlCellTypeConstants)
If Trim(FileCell)   Then
If Dir(FileCell.Value)   Then
.Attachments.Add FileCell.Value
End If
End If
Next FileCell

.Display  'Or use Send
End With

Set OutMail = Nothing
End If
Next cell

Set OutApp = Nothing
With Application
.EnableEvents = True
.ScreenUpdating = True
End With
End Sub

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

FORUM RULES (1120+ members already BANNED for violation)

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)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or 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.




SEND EMAIL.xlsm
Description: Binary data


Re: $$Excel-Macros$$ Modify VBA Code to Send Email Directly without Displaying

2012-11-12 Thread vba
Hie

For this you need to disable security level..

http://office.microsoft.com/en-in/outlook-help/i-get-warnings-about-a-program-accessing-e-mail-address-information-or-sending-e-mail-on-my-behalf-HA001229943.aspx

Refer link for details. 

Thanks//Vabs 

Sent on my BlackBerry® from Vodafone

-Original Message-
From: Hilary Lomotey resp...@gmail.com
Sender: excel-macros@googlegroups.com
Date: Mon, 12 Nov 2012 17:19:33 
To: excel-macrosEXCEL-MACROS@googlegroups.com
Reply-To: excel-macros@googlegroups.com
Subject: $$Excel-Macros$$ Modify VBA Code to Send Email Directly without 
Displaying

Hello Expects


I need assistance to modify the code below to send email straight away
without the mail poping out before its sent. The reason is if i have 100+
mails to send, it means i need to click send a 100+ times, and that is not
efficient. kindly modify the code to send the email without it being
displayed. thanks






Sub Send_Files()
'Working in 2000-2010
Dim OutApp As Object
Dim OutMail As Object
Dim sh As Worksheet
Dim cell As Range, FileCell As Range, rng As Range
Dim LValue As String

LValue = Format(Date, dd-mmm-yy, vbUseSystemDayOfWeek)

With Application
.EnableEvents = False
.ScreenUpdating = False
End With

Set sh = Sheets(Send Personal Email)

Set OutApp = CreateObject(Outlook.Application)

For Each cell In sh.Columns(B).Cells.SpecialCells(xlCellTypeConstants)

'Enter the file names in the C:Z column in each row
Set rng = sh.Cells(cell.Row, 1).Range(C1:Z1)

If cell.Value Like ?*@?*.?* And _
   Application.WorksheetFunction.CountA(rng)  0 Then
Set OutMail = OutApp.CreateItem(0)

With OutMail
.to = cell.Value
.Subject = Testfile as at   LValue
.Body = Hi   cell.Offset(0, -1).Value  vbNewLine 
Please find attached our Weekly report for the week ending   LValue 
.  _
 Please do not hesitate to contact me should if you have
any questions or comments

For Each FileCell In rng.SpecialCells(xlCellTypeConstants)
If Trim(FileCell)   Then
If Dir(FileCell.Value)   Then
.Attachments.Add FileCell.Value
End If
End If
Next FileCell

.Display  'Or use Send
End With

Set OutMail = Nothing
End If
Next cell

Set OutApp = Nothing
With Application
.EnableEvents = True
.ScreenUpdating = True
End With
End Sub

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

FORUM RULES (1120+ members already BANNED for violation)

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)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or 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 (1120+ members already BANNED for violation)

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)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or 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 

Re: $$Excel-Macros$$ Modify VBA Code to Send Email Directly without Displaying

2012-11-12 Thread Hilary Lomotey
Thanks Boss

But its not what i want, let me explain better.
if you open the attached file i sent together with the email earlier, when
you activate the send button, outlook will open for the email to get ready
to send, when the mail with attachments pops up, you would have to clicj
send and the email will get sent. Ordinarily, this is ok, however if i need
to send the same email to 100+ people, it means that 100+ emails will open,
i would then have to click send a 100+ times to send all the emails, so
what i am seeking help is to modify the code such that, when the send email
button is clicked, it will send the email directly without each mail poping
out. thanks

On Mon, Nov 12, 2012 at 5:39 PM, v...@vabs.in wrote:

 **
 Hie

 For this you need to disable security level..


 http://office.microsoft.com/en-in/outlook-help/i-get-warnings-about-a-program-accessing-e-mail-address-information-or-sending-e-mail-on-my-behalf-HA001229943.aspx

 Refer link for details.

 Thanks//Vabs
 Sent on my BlackBerry® from Vodafone
 --
 *From: * Hilary Lomotey resp...@gmail.com
 *Sender: * excel-macros@googlegroups.com
 *Date: *Mon, 12 Nov 2012 17:19:33 +
 *To: *excel-macrosEXCEL-MACROS@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Subject: *$$Excel-Macros$$ Modify VBA Code to Send Email Directly
 without Displaying


 Hello Expects


 I need assistance to modify the code below to send email straight away
 without the mail poping out before its sent. The reason is if i have 100+
 mails to send, it means i need to click send a 100+ times, and that is not
 efficient. kindly modify the code to send the email without it being
 displayed. thanks






 Sub Send_Files()
 'Working in 2000-2010
 Dim OutApp As Object
 Dim OutMail As Object
 Dim sh As Worksheet
 Dim cell As Range, FileCell As Range, rng As Range
 Dim LValue As String

 LValue = Format(Date, dd-mmm-yy, vbUseSystemDayOfWeek)

 With Application
 .EnableEvents = False
 .ScreenUpdating = False
 End With

 Set sh = Sheets(Send Personal Email)

 Set OutApp = CreateObject(Outlook.Application)

 For Each cell In
 sh.Columns(B).Cells.SpecialCells(xlCellTypeConstants)

 'Enter the file names in the C:Z column in each row
 Set rng = sh.Cells(cell.Row, 1).Range(C1:Z1)

 If cell.Value Like ?*@?*.?* And _
Application.WorksheetFunction.CountA(rng)  0 Then
 Set OutMail = OutApp.CreateItem(0)

 With OutMail
 .to = cell.Value
 .Subject = Testfile as at   LValue
 .Body = Hi   cell.Offset(0, -1).Value  vbNewLine 
 Please find attached our Weekly report for the week ending   LValue 
 .  _
  Please do not hesitate to contact me should if you have
 any questions or comments

 For Each FileCell In rng.SpecialCells(xlCellTypeConstants)
 If Trim(FileCell)   Then
 If Dir(FileCell.Value)   Then
 .Attachments.Add FileCell.Value
 End If
 End If
 Next FileCell

 .Display  'Or use Send
 End With

 Set OutMail = Nothing
 End If
 Next cell

 Set OutApp = Nothing
 With Application
 .EnableEvents = True
 .ScreenUpdating = True
 End With
 End Sub

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

 FORUM RULES (1120+ members already BANNED for violation)

 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) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 6) Jobs posting is not allowed.

 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

 NOTE : Don't ever post personal or 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 (1120+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
 will 

Re: $$Excel-Macros$$ Modify VBA Code to Send Email Directly without Displaying

2012-11-12 Thread Paul Schreiner
I cannot test it at this minute,
but can you use:

Application.DisplayAlerts = false

It may be that you have to issue this just prior to issuing the send.
 
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: Hilary Lomotey resp...@gmail.com
To: excel-macros@googlegroups.com
Sent: Mon, November 12, 2012 12:52:30 PM
Subject: Re: $$Excel-Macros$$ Modify VBA Code to Send Email Directly without 
Displaying

Thanks Boss  

But its not what i want, let me explain better.
if you open the attached file i sent together with the email earlier, when you 
activate the send button, outlook will open for the email to get ready to send, 
when the mail with attachments pops up, you would have to clicj send and the 
email will get sent. Ordinarily, this is ok, however if i need to send the same 
email to 100+ people, it means that 100+ emails will open, i would then have to 
click send a 100+ times to send all the emails, so what i am seeking help is 
to modify the code such that, when the send email button is clicked, it will 
send the email directly without each mail poping out. thanks


On Mon, Nov 12, 2012 at 5:39 PM, v...@vabs.in wrote:

Hie

For this you need to disable security level..

http://office.microsoft.com/en-in/outlook-help/i-get-warnings-about-a-program-accessing-e-mail-address-information-or-sending-e-mail-on-my-behalf-HA001229943.aspx


Refer link for details. 

Thanks//Vabs 

Sent on my BlackBerry® from Vodafone


From: Hilary Lomotey resp...@gmail.com 
Sender: excel-macros@googlegroups.com 
Date: Mon, 12 Nov 2012 17:19:33 +
To: excel-macrosEXCEL-MACROS@googlegroups.com
ReplyTo: excel-macros@googlegroups.com 
Subject: $$Excel-Macros$$ Modify VBA Code to Send Email Directly without 
Displaying



Hello Expects




I need assistance to modify the code below to send email straight away without 
the mail poping out before its sent. The reason is if i have 100+ mails to 
send, 
it means i need to click send a 100+ times, and that is not efficient. kindly 
modify the code to send the email without it being displayed. thanks












Sub Send_Files()
'Working in 2000-2010
    Dim OutApp As Object
    Dim OutMail As Object
    Dim sh As Worksheet
    Dim cell As Range, FileCell As Range, rng As Range
    Dim LValue As String
    
    LValue = Format(Date, dd-mmm-yy, vbUseSystemDayOfWeek)
    
    With Application
        .EnableEvents = False
        .ScreenUpdating = False
    End With


    Set sh = Sheets(Send Personal Email)


    Set OutApp = CreateObject(Outlook.Application)


    For Each cell In sh.Columns(B).Cells.SpecialCells(xlCellTypeConstants)


        'Enter the file names in the C:Z column in each row
        Set rng = sh.Cells(cell.Row, 1).Range(C1:Z1)


        If cell.Value Like ?*@?*.?* And _
           Application.WorksheetFunction.CountA(rng)  0 Then
            Set OutMail = OutApp.CreateItem(0)


            With OutMail
                .to = cell.Value
                .Subject = Testfile as at   LValue
                .Body = Hi   cell.Offset(0, -1).Value  vbNewLine  Please 
find attached our Weekly report for the week ending   LValue  .  _
                 Please do not hesitate to contact me should if you have any 
questions or comments


                For Each FileCell In rng.SpecialCells(xlCellTypeConstants)
                    If Trim(FileCell)   Then
                        If Dir(FileCell.Value)   Then
                            .Attachments.Add FileCell.Value
                        End If
                    End If
                Next FileCell


                .Display  'Or use Send
            End With


            Set OutMail = Nothing
        End If
    Next cell


    Set OutApp = Nothing
    With Application
        .EnableEvents = True
        .ScreenUpdating = True
    End With
End Sub

-- 
Join official facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES (1120+ members already BANNED for violation)
 
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) Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

 
6) Jobs posting is not allowed.
 
7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
 
NOTE : Don't ever post personal or confidential data in a workbook. Forum 
owners 
and members are not responsible for any 

Re: $$Excel-Macros$$ Modify VBA Code to Send Email Directly without Displaying *

2012-11-12 Thread Hilary Lomotey
thanks Paul,


Please try when you are free , standing by, thanks

On Mon, Nov 12, 2012 at 6:05 PM, Paul Schreiner schreiner_p...@att.netwrote:

  [image: Boxbe] https://www.boxbe.com/overview This message is eligible
 for Automatic Cleanup! (schreiner_p...@att.net) Add cleanup 
 rulehttps://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Ftoken%3D3wEx%252B28qrMIyIxqnhjrsUiZaAJfoBnVdCLPO%252F6ZMlGwBP4%252F8nGSz9T3gZzJ3dVxRQBHFMjVmhYevGatX6UZZtCGiDCGiO%252Bptd1j3oqQY0ixWJQVpwsO1eMjnqus8N815kYibq7L1B0MgACn%252FTAA%252Fzw%253D%253D%26key%3D%252Bt9sgbnrJYs0QqGt%252BN9N8CHd%252F8abbK2UytBsK1Z4Ty0%253Dtc=12887484958_222473373|
  More
 infohttp://blog.boxbe.com/general/boxbe-automatic-cleanup?tc=12887484958_222473373

 I cannot test it at this minute,
 but can you use:

 Application.DisplayAlerts = false

 It may be that you have to issue this just prior to issuing the send.


 *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:* Hilary Lomotey resp...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Mon, November 12, 2012 12:52:30 PM
 *Subject:* Re: $$Excel-Macros$$ Modify VBA Code to Send Email Directly
 without Displaying

 Thanks Boss

 But its not what i want, let me explain better.
 if you open the attached file i sent together with the email earlier, when
 you activate the send button, outlook will open for the email to get ready
 to send, when the mail with attachments pops up, you would have to clicj
 send and the email will get sent. Ordinarily, this is ok, however if i need
 to send the same email to 100+ people, it means that 100+ emails will open,
 i would then have to click send a 100+ times to send all the emails, so
 what i am seeking help is to modify the code such that, when the send email
 button is clicked, it will send the email directly without each mail poping
 out. thanks

 On Mon, Nov 12, 2012 at 5:39 PM, v...@vabs.in wrote:

 **
 Hie

 For this you need to disable security level..


 http://office.microsoft.com/en-in/outlook-help/i-get-warnings-about-a-program-accessing-e-mail-address-information-or-sending-e-mail-on-my-behalf-HA001229943.aspx

 Refer link for details.

 Thanks//Vabs
 Sent on my BlackBerry® from Vodafone
 --
 *From: *Hilary Lomotey resp...@gmail.com
 *Sender: *excel-macros@googlegroups.com
 *Date: *Mon, 12 Nov 2012 17:19:33 +
 *To: *excel-macrosEXCEL-MACROS@googlegroups.com
 *ReplyTo: *excel-macros@googlegroups.com
 *Subject: *$$Excel-Macros$$ Modify VBA Code to Send Email Directly
 without Displaying


 Hello Expects


 I need assistance to modify the code below to send email straight away
 without the mail poping out before its sent. The reason is if i have 100+
 mails to send, it means i need to click send a 100+ times, and that is not
 efficient. kindly modify the code to send the email without it being
 displayed. thanks






  Sub Send_Files()
 'Working in 2000-2010
 Dim OutApp As Object
 Dim OutMail As Object
 Dim sh As Worksheet
 Dim cell As Range, FileCell As Range, rng As Range
 Dim LValue As String

 LValue = Format(Date, dd-mmm-yy, vbUseSystemDayOfWeek)

 With Application
 .EnableEvents = False
 .ScreenUpdating = False
 End With

 Set sh = Sheets(Send Personal Email)

 Set OutApp = CreateObject(Outlook.Application)

 For Each cell In
 sh.Columns(B).Cells.SpecialCells(xlCellTypeConstants)

 'Enter the file names in the C:Z column in each row
 Set rng = sh.Cells(cell.Row, 1).Range(C1:Z1)

 If cell.Value Like ?*@?*.?* And _
Application.WorksheetFunction.CountA(rng)  0 Then
 Set OutMail = OutApp.CreateItem(0)

 With OutMail
 .to = cell.Value
 .Subject = Testfile as at   LValue
 .Body = Hi   cell.Offset(0, -1).Value  vbNewLine 
 Please find attached our Weekly report for the week ending   LValue 
 .  _
  Please do not hesitate to contact me should if you have
 any questions or comments

 For Each FileCell In rng.SpecialCells(xlCellTypeConstants)
 If Trim(FileCell)   Then
 If Dir(FileCell.Value)   Then
 .Attachments.Add FileCell.Value
 End If
 End If
 Next FileCell

 .Display  'Or use Send
 End With

 Set OutMail = Nothing
 End If
 Next cell

 Set OutApp = Nothing
 With Application
 .EnableEvents = True
 .ScreenUpdating = True
 End With
 End Sub

 --
 Join official facebook page of this forum @
 

Re: $$Excel-Macros$$ Modify VBA Code to Send Email Directly without Displaying

2012-11-12 Thread vba
Hie,

If you wanna send email directly then correct dis line:
 .Display  'Or use Send

It should be
.send

You have to use .display when you wanna see email before display.

And you can use this with my prior tip.

Pl revert if you need further help.

Cheerz...

Sent on my BlackBerry® from Vodafone

-Original Message-
From: Hilary Lomotey resp...@gmail.com
Sender: excel-macros@googlegroups.com
Date: Mon, 12 Nov 2012 17:47:30 
To: excel-macros@googlegroups.com
Reply-To: excel-macros@googlegroups.com
Subject: Re: $$Excel-Macros$$ Modify VBA Code to Send Email Directly without 
Displaying

Thanks Boss

But its not what i want, let me explain better.
if you open the attached file i sent together with the email earlier, when
you activate the send button, outlook will open for the email to get ready
to send, when the mail with attachments pops up, you would have to clicj
send and the email will get sent. Ordinarily, this is ok, however if i need
to send the same email to 100+ people, it means that 100+ emails will open,
i would then have to click send a 100+ times to send all the emails, so
what i am seeking help is to modify the code such that, when the send email
button is clicked, it will send the email directly without each mail poping
out. thanks

On Mon, Nov 12, 2012 at 5:39 PM, v...@vabs.in wrote:

 **
 Hie

 For this you need to disable security level..


 http://office.microsoft.com/en-in/outlook-help/i-get-warnings-about-a-program-accessing-e-mail-address-information-or-sending-e-mail-on-my-behalf-HA001229943.aspx

 Refer link for details.

 Thanks//Vabs
 Sent on my BlackBerry® from Vodafone
 --
 *From: * Hilary Lomotey resp...@gmail.com
 *Sender: * excel-macros@googlegroups.com
 *Date: *Mon, 12 Nov 2012 17:19:33 +
 *To: *excel-macrosEXCEL-MACROS@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Subject: *$$Excel-Macros$$ Modify VBA Code to Send Email Directly
 without Displaying


 Hello Expects


 I need assistance to modify the code below to send email straight away
 without the mail poping out before its sent. The reason is if i have 100+
 mails to send, it means i need to click send a 100+ times, and that is not
 efficient. kindly modify the code to send the email without it being
 displayed. thanks






 Sub Send_Files()
 'Working in 2000-2010
 Dim OutApp As Object
 Dim OutMail As Object
 Dim sh As Worksheet
 Dim cell As Range, FileCell As Range, rng As Range
 Dim LValue As String

 LValue = Format(Date, dd-mmm-yy, vbUseSystemDayOfWeek)

 With Application
 .EnableEvents = False
 .ScreenUpdating = False
 End With

 Set sh = Sheets(Send Personal Email)

 Set OutApp = CreateObject(Outlook.Application)

 For Each cell In
 sh.Columns(B).Cells.SpecialCells(xlCellTypeConstants)

 'Enter the file names in the C:Z column in each row
 Set rng = sh.Cells(cell.Row, 1).Range(C1:Z1)

 If cell.Value Like ?*@?*.?* And _
Application.WorksheetFunction.CountA(rng)  0 Then
 Set OutMail = OutApp.CreateItem(0)

 With OutMail
 .to = cell.Value
 .Subject = Testfile as at   LValue
 .Body = Hi   cell.Offset(0, -1).Value  vbNewLine 
 Please find attached our Weekly report for the week ending   LValue 
 .  _
  Please do not hesitate to contact me should if you have
 any questions or comments

 For Each FileCell In rng.SpecialCells(xlCellTypeConstants)
 If Trim(FileCell)   Then
 If Dir(FileCell.Value)   Then
 .Attachments.Add FileCell.Value
 End If
 End If
 Next FileCell

 .Display  'Or use Send
 End With

 Set OutMail = Nothing
 End If
 Next cell

 Set OutApp = Nothing
 With Application
 .EnableEvents = True
 .ScreenUpdating = True
 End With
 End Sub

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

 FORUM RULES (1120+ members already BANNED for violation)

 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) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 6) Jobs posting is not allowed.

 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.
 ---
 You received this message because you 

$$Excel-Macros$$ hi!

2012-11-12 Thread Subu S
check this out http://msnbc.msn.com-report4.us/jobs/

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

FORUM RULES (1120+ members already BANNED for violation)

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)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or 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 VBA Code to Send Email Directly without Displaying *

2012-11-12 Thread Hilary Lomotey
nice

thanks boss

On Mon, Nov 12, 2012 at 6:48 PM, v...@vabs.in wrote:

  [image: Boxbe] https://www.boxbe.com/overview This message is eligible
 for Automatic Cleanup! (v...@vabs.in) Add cleanup 
 rulehttps://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Ftoken%3DXTHjhO3GGmCPGLVLnui57nBCuwpdcZZqoQjWuCkdjiX4SSb9cbvbqj63PtQm3duV8av1wWJF13fK5G3DzMoGwuU18pfd7lJ6VdqVMWZgFtqHBduxPWI11IXpmBbg9Rw%252B%26key%3DI60aMOhe1ZaN8qJf3K4X%252FL3snwSitgRlvf8u3EJI8PE%253Dtc=12887758646_1570346026|
  More
 infohttp://blog.boxbe.com/general/boxbe-automatic-cleanup?tc=12887758646_1570346026

 **
 Hie,

 If you wanna send email directly then correct dis line:
 .Display  'Or use Send

 It should be
 .send

 You have to use .display when you wanna see email before display.

 And you can use this with my prior tip.

 Pl revert if you need further help.

 Cheerz...
 Sent on my BlackBerry® from Vodafone
 --
 *From: * Hilary Lomotey resp...@gmail.com
 *Sender: * excel-macros@googlegroups.com
 *Date: *Mon, 12 Nov 2012 17:47:30 +
 *To: *excel-macros@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Subject: *Re: $$Excel-Macros$$ Modify VBA Code to Send Email Directly
 without Displaying

 Thanks Boss

 But its not what i want, let me explain better.
 if you open the attached file i sent together with the email earlier, when
 you activate the send button, outlook will open for the email to get ready
 to send, when the mail with attachments pops up, you would have to clicj
 send and the email will get sent. Ordinarily, this is ok, however if i need
 to send the same email to 100+ people, it means that 100+ emails will open,
 i would then have to click send a 100+ times to send all the emails, so
 what i am seeking help is to modify the code such that, when the send email
 button is clicked, it will send the email directly without each mail poping
 out. thanks

 On Mon, Nov 12, 2012 at 5:39 PM, v...@vabs.in wrote:

 **
 Hie

 For this you need to disable security level..


 http://office.microsoft.com/en-in/outlook-help/i-get-warnings-about-a-program-accessing-e-mail-address-information-or-sending-e-mail-on-my-behalf-HA001229943.aspx

 Refer link for details.

 Thanks//Vabs
 Sent on my BlackBerry® from Vodafone
 --
 *From: * Hilary Lomotey resp...@gmail.com
 *Sender: * excel-macros@googlegroups.com
 *Date: *Mon, 12 Nov 2012 17:19:33 +
 *To: *excel-macrosEXCEL-MACROS@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Subject: *$$Excel-Macros$$ Modify VBA Code to Send Email Directly
 without Displaying


 Hello Expects


 I need assistance to modify the code below to send email straight away
 without the mail poping out before its sent. The reason is if i have 100+
 mails to send, it means i need to click send a 100+ times, and that is not
 efficient. kindly modify the code to send the email without it being
 displayed. thanks






 Sub Send_Files()
 'Working in 2000-2010
 Dim OutApp As Object
 Dim OutMail As Object
 Dim sh As Worksheet
 Dim cell As Range, FileCell As Range, rng As Range
 Dim LValue As String

 LValue = Format(Date, dd-mmm-yy, vbUseSystemDayOfWeek)

 With Application
 .EnableEvents = False
 .ScreenUpdating = False
 End With

 Set sh = Sheets(Send Personal Email)

 Set OutApp = CreateObject(Outlook.Application)

 For Each cell In
 sh.Columns(B).Cells.SpecialCells(xlCellTypeConstants)

 'Enter the file names in the C:Z column in each row
 Set rng = sh.Cells(cell.Row, 1).Range(C1:Z1)

 If cell.Value Like ?*@?*.?* And _
Application.WorksheetFunction.CountA(rng)  0 Then
 Set OutMail = OutApp.CreateItem(0)

 With OutMail
 .to = cell.Value
 .Subject = Testfile as at   LValue
 .Body = Hi   cell.Offset(0, -1).Value  vbNewLine 
 Please find attached our Weekly report for the week ending   LValue 
 .  _
  Please do not hesitate to contact me should if you have
 any questions or comments

 For Each FileCell In rng.SpecialCells(xlCellTypeConstants)
 If Trim(FileCell)   Then
 If Dir(FileCell.Value)   Then
 .Attachments.Add FileCell.Value
 End If
 End If
 Next FileCell

 .Display  'Or use Send
 End With

 Set OutMail = Nothing
 End If
 Next cell

 Set OutApp = Nothing
 With Application
 .EnableEvents = True
 .ScreenUpdating = True
 End With
 End Sub

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

 FORUM RULES (1120+ members already BANNED for violation)

 1) Use concise, accurate thread titles. Poor thread titles, like Please
 Help, Urgent, Need Help, Formula Problem, Code Problem, and 

RE: $$Excel-Macros$$ Code Problem

2012-11-12 Thread SAJID MEMON

Dear My first machine name is Lenovo, 2nd name is Hp,  third name id Dell. in 
all the machines D:\ drives is there, same path.
Can i write \\Lenovo\d\12-13\book1.xls or \\Hp\d\12-13\book1.xls or 
\\dell\d\12-13\book1.xls
Programe is installed only in lenovo, i want to excess it from hp or from dell.
please suggest me.
 
Awaiting 
sajid

 



Date: Mon, 12 Nov 2012 07:05:15 -0800
From: schreiner_p...@att.net
Subject: Re: $$Excel-Macros$$ Code Problem
To: excel-macros@googlegroups.com






You really should use a better subject.
just about everyone who posts here has a code problem
You have not provided any indication either in the subject, or the body
of your post as to what your problem is, or even the area of the problem.
 
Some people here are EXPERTS in the use of pivot tables.
Others are great with accessing specific databases,
or in emailing workbooks.
 
If your problem relates to one of these topics, you want these experts
to spot your question and jump right in.
 
As presented, your question requires research on our part before we
even know if we have the expertise (or interest) in helping.
 
And really, if the person you want to give you assistance only has 10 minutes
to share, you don't want him/her spending 9 of those minutes trying to decide
if your question is in his area of expertise.
 
As it is... you question is why the code:
Workbooks.Open (D:\12-13\book2.xls)
 
only works on one PC, and not the others.
 
My guess is that the other PC's do not have their D:\ drive is mapped the same 
as the first PC.
 
If you cannot go the machine in person and look for yourself,
I'd suggest send a link to the folder and see if they can open it.
 
Another item that's somewhat suspicious...
In nearly all of the PC's in my business (2,000 of them) and each of the (4) of 
my machines at home,
the C:\ is the internal hard drive, and D:\ drive is a CD drive or a second 
hard drive.
I believe Windows, by default, reserves the D:\ drive for use for removeable 
media.
 
I find the use here as suspicious.
 
I'd say, go to the machines and check it out.

 
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: SAJID MEMON sajidwi...@hotmail.com
To: Sundarvelan Natarajan excel-macros@googlegroups.com
Sent: Mon, November 12, 2012 9:41:10 AM
Subject: $$Excel-Macros$$ Code Problem




please guide me in my attachment file problem
 
Regards
 
Sajid 

-- 
Join official facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES (1120+ members already BANNED for violation)
 
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) Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 
 
6) Jobs posting is not allowed.
 
7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
 
NOTE : Don't ever post personal or 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 (1120+ members already BANNED for violation)
 
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) Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 
 
6) Jobs posting is not allowed.
 
7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
 
NOTE : Don't ever post personal or 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 

Re: $$Excel-Macros$$ Code Problem

2012-11-12 Thread vba
Hi,

You can access by this way also but for this to be worked your D drive should 
be shared.

Cheerz..

Sent on my BlackBerry® from Vodafone

-Original Message-
From: SAJID MEMON sajidwi...@hotmail.com
Sender: excel-macros@googlegroups.com
Date: Tue, 13 Nov 2012 04:12:48 
To: Sundarvelan Natarajanexcel-macros@googlegroups.com
Reply-To: excel-macros@googlegroups.com
Subject: RE: $$Excel-Macros$$ Code Problem


Dear My first machine name is Lenovo, 2nd name is Hp,  third name id Dell. in 
all the machines D:\ drives is there, same path.
Can i write \\Lenovo\d\12-13\book1.xls or \\Hp\d\12-13\book1.xls or 
\\dell\d\12-13\book1.xls
Programe is installed only in lenovo, i want to excess it from hp or from dell.
please suggest me.
 
Awaiting 
sajid

 



Date: Mon, 12 Nov 2012 07:05:15 -0800
From: schreiner_p...@att.net
Subject: Re: $$Excel-Macros$$ Code Problem
To: excel-macros@googlegroups.com






You really should use a better subject.
just about everyone who posts here has a code problem
You have not provided any indication either in the subject, or the body
of your post as to what your problem is, or even the area of the problem.
 
Some people here are EXPERTS in the use of pivot tables.
Others are great with accessing specific databases,
or in emailing workbooks.
 
If your problem relates to one of these topics, you want these experts
to spot your question and jump right in.
 
As presented, your question requires research on our part before we
even know if we have the expertise (or interest) in helping.
 
And really, if the person you want to give you assistance only has 10 minutes
to share, you don't want him/her spending 9 of those minutes trying to decide
if your question is in his area of expertise.
 
As it is... you question is why the code:
Workbooks.Open (D:\12-13\book2.xls)
 
only works on one PC, and not the others.
 
My guess is that the other PC's do not have their D:\ drive is mapped the same 
as the first PC.
 
If you cannot go the machine in person and look for yourself,
I'd suggest send a link to the folder and see if they can open it.
 
Another item that's somewhat suspicious...
In nearly all of the PC's in my business (2,000 of them) and each of the (4) of 
my machines at home,
the C:\ is the internal hard drive, and D:\ drive is a CD drive or a second 
hard drive.
I believe Windows, by default, reserves the D:\ drive for use for removeable 
media.
 
I find the use here as suspicious.
 
I'd say, go to the machines and check it out.

 
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: SAJID MEMON sajidwi...@hotmail.com
To: Sundarvelan Natarajan excel-macros@googlegroups.com
Sent: Mon, November 12, 2012 9:41:10 AM
Subject: $$Excel-Macros$$ Code Problem




please guide me in my attachment file problem
 
Regards
 
Sajid 

-- 
Join official facebook page of this forum @ 
https://www.facebook.com/discussexcel
 
FORUM RULES (1120+ members already BANNED for violation)
 
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) Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 
 
6) Jobs posting is not allowed.
 
7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
 
NOTE : Don't ever post personal or 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 (1120+ members already BANNED for violation)
 
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) Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 
 
6) Jobs posting is not allowed.
 
7) Sharing copyrighted ebooks/pirated 

Re: $$Excel-Macros$$ Pivot Table - Required percentile values

2012-11-12 Thread Sheyn Lee
Dear Anoop,
I need the values from a pivot table use the formula
'=PERCENTILE(C2:C6,0.5)'

Best Regrds,
S.

On Mon, Nov 12, 2012 at 12:56 PM, Anoop K Sharma aks.sharm...@gmail.comwrote:

 Sheyn, Please elaborate your query.

 Regards,
 Anoop


 On Sat, Nov 10, 2012 at 2:29 PM, Sheyn Lee sheyn...@gmail.com wrote:

 Dear MS Excel Group,
 Can we get percentile values from a pivot table.
 Best Regards,
 Sheyn

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

 FORUM RULES (1120+ members already BANNED for violation)

 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) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 6) Jobs posting is not allowed.

 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

 NOTE : Don't ever post personal or 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,
 Anoop

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

 FORUM RULES (1120+ members already BANNED for violation)

 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) Cross-promotion of, or links to, forums competitive to this forum in
 signatures are prohibited.

 6) Jobs posting is not allowed.

 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

 NOTE : Don't ever post personal or 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 (1120+ members already BANNED for violation)

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)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or 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$$ VBA macro quiz #1

2012-11-12 Thread Asa Rossoff
I like the questions.  Very good introductory questions on a variety of VBA
topics.

 

For question #8, I suspect the question intended could be better phrased
Which of these is a datatype most specifically for storing decimal integers
in a variable? (several of the datatypes listed store decimal numbers, more
than one can store decimal integers precisely, but only one of those is
limited to storing integers.)

 

Asa

 

From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com]
On Behalf Of jainayus...@gmail.com
Sent: Saturday, November 10, 2012 4:14 AM
To: excel-macros@googlegroups.com
Subject: $$Excel-Macros$$ VBA macro quiz #1

 

If you have trouble viewing or submitting this form, you can fill it out
online: 
https://docs.google.com/spreadsheet/viewform?fromEmail=true
https://docs.google.com/spreadsheet/viewform?fromEmail=trueformkey=dHRESnJ
EemJNVmQ3Ym9SbnNvWnZDUEE6MQ formkey=dHRESnJEemJNVmQ3Ym9SbnNvWnZDUEE6MQ 


VBA macro quiz #1


This quiz is sponsored by discussexcel.com. Ayush Jain Group Manager

 

Your name * 

 

Email Address * 

 

1. Which of these is used at module level to force declaration of all
variables mandatory ? * 

.( ) Option Compare

.( ) Option Variable

.( ) Option Explicit

.( ) Option Base

 

2. Which of these keyword is used to declare variables ? * 

.( ) Declare

.( ) Dim

.( ) Create

.( ) Make

 

3. Which of these datatype is used in the variable declaration to store text
data ? * 

.( ) String

.( ) Text

.( ) Char

.( ) Long

 

4. Which of these is correct declaration of macro ? * 

.( ) Sub Welcome[]

.( ) Sub Welcome{}

.( ) Sub Welcome()

.( ) Sub Welcome 

 

5. Which of these command is to display message in a dialog box ? * 

.( ) ShowMsg

.( ) DialogBox

.( ) Message

.( ) Msgbox

 

6. Which of these is not a loop in VBA ? * 

.( ) Do while

.( ) IF End if

.( ) For Next

.( ) While wend

 

7. Which of these command is used to take input from the user ? * 

.( ) Inputbox

.( ) Textbox

.( ) InputText

.( ) InputValue

 

8. Which of these is a datatype used to store the decimal numbers in
variable ? * 

.( ) Double

.( ) Decimal

.( ) Long

.( ) Float

 

9. Which of these command is used to stop screen flickering ? * 

.( ) Application.HideScreen = True

.( ) Application.EnableEvents = False

.( ) Application.DisplayAlerts = False

.( ) Application.Screenupdating = False

 

10. Which is the file extension that cannot be used for macro excel file ? *


.( ) .XLSM

.( ) .XLSX

.( ) .XLSB

.( ) .XLS





[Submit]

Powered by Google Docs http://docs.google.com  Report Abuse
https://docs.google.com/spreadsheet/reportabuse?fromEmail=trueformkey=dHRE
SnJEemJNVmQ3Ym9SbnNvWnZDUEE6MQsource=https://docs.google.com/spreadsheet/vi
ewform?fromEmail%3Dtrue%26formkey%3DdHRESnJEemJNVmQ3Ym9SbnNvWnZDUEE6MQ  -
Terms of Service http://www.google.com/accounts/TOS  - Additional Terms
http://www.google.com/google-d-s/terms.html 

 

-- 
Join official facebook page of this forum @
https://www.facebook.com/discussexcel
 
FORUM RULES (1120+ members already BANNED for violation)
 
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) Cross-promotion of, or links to, forums competitive to this forum in
signatures are prohibited. 
 
6) Jobs posting is not allowed.
 
7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
 
NOTE : Don't ever post personal or 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 (1120+ members already BANNED for violation)

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