Re: $$Excel-Macros$$ Re: SAME MACRO FOR MANY CELLS

2016-04-02 Thread Sam Mathai Chacko
Private Sub Worksheet_SelectionChange(ByVal Target As Range)

Rows("12:18").Hidden =
Worksheetfunction.countif(Range("A1:G2"),"ABC") > 0



End Sub
On Apr 2, 2016 19:18, "NIJ"  wrote:

>
>
> On Saturday, 2 April 2016 06:30:27 UTC-7, NIJ wrote:
>>
>> I want to aply below macro to cells A1 to G1 AND A2 TO  G2.  IS IT
>> POSSIBLE THAT IT CAN  BE DONE SIMPLY INSTEAD WRITING BELOW  MACRO FOR EACH
>> CELL VALUE.
>>
>> Private Sub Worksheet_SelectionChange(ByVal Target As Range)
>>
>>   If Range("A1").Value = "ABC" Then
>> Rows("12:18").Hidden = True
>>
>> End If
>>
>> End Sub
>>
>
> I WANT ANY OF CELL FROM A1 TO G2 IF CONTAIN "ABC" VALUE ROWS GET HIDE.
>
> THANKS FOR RESPONSE
>
> I
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ SAME MACRO FOR MANY CELLS

2016-04-02 Thread Sam Mathai Chacko
You want to check whether each cell from A1 to G2 has the text "ABC" in it
or not? And if yes, hide the same rows?

On Sat, Apr 2, 2016 at 7:00 PM, NIJ <niteshjind...@gmail.com> wrote:

> I want to aply below macro to cells A1 to G1 AND A2 TO  G2.  IS IT
> POSSIBLE THAT IT CAN  BE DONE SIMPLY INSTEAD WRITING BELOW  MACRO FOR EACH
> CELL VALUE.
>
> Private Sub Worksheet_SelectionChange(ByVal Target As Range)
>
>   If Range("A1").Value = "ABC" Then
> Rows("12:18").Hidden = True
>
> End If
>
> End Sub
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at https://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ help required

2015-11-22 Thread Sam Mathai Chacko
See if this works

On Sun, Nov 22, 2015 at 4:55 PM, Izhar <izharra...@gmail.com> wrote:

> can we use vlookup or match,index function over here to sort column A like
> column B, if possible can anyone do it for me, I tried on column E:I but
> failed
> Thanks in advance
> NOTE:
> Priority is the formula if not possible then you may use macro
>
>
>
> --
> *Izhar Ul Haq*
>
>
>
> Cell# 009203069072597
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Sort Using INDEX MATCH COUNTIF ROW.xlsx
Description: MS-Excel 2007 spreadsheet


Re: $$Excel-Macros$$ Changing Embedded Chart Axis Label Font Fails

2015-09-11 Thread Sam Mathai Chacko
Dan, can you attach a sample file with just one chart and the code

On Fri, Sep 11, 2015 at 8:25 PM, Dan McDonald <mcdonald...@gmail.com> wrote:

> I have an unexpected problem trying to do something simple. I merely want
> to change the font size of Axis(XlValue) on an embedded chart.
>
> My VBA code (from record macro) is shown below with the offending line
> pointed to.
>
> ActiveSheet.ChartObjects("Chart 6").Activate
> ActiveChart.Axes(xlValue).Select
> With Selection.Format.TextFrame2.TextRange.Font<<<<<<<
> .BaselineOffset = 0
> .Size = 14
> End With
> ActiveChart.Axes(xlCategory).Select
> ActiveChart.ChartArea.Select
> With ActiveSheet.Shapes("Chart 6").TextFrame2.TextRange.Font
> .BaselineOffset = 0
> .Size = 12
> End With
>
> I get the following error message:
>
> Run-time error '-2147467259(80004005)'
> Method 'TextFrame2" of object 'ChartFormat' failed
>
> I suspect it is a problem with needing to make a code modification for an
> embedded chart but I am not sure.
>
> Can anyone help me out?
>
> Thank you,
>
> Dan
>
> --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ SOLVE THIS

2015-02-26 Thread Sam Mathai Chacko
=--TEXT(RIGHT(A1,6),00\/00\/00)
On 27 Feb 2015 11:47, sush.dav...@gmail.com wrote:

 I have a data like below where I need only date.

 S270215
 R270215

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.


-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Array_concept

2014-12-13 Thread Sam Mathai Chacko
Mandeep,


It's not like that. For that you'll need to understand how Transpose works.
Try this first ;)

ARR = Application.Transpose(Range(A1:B1))

And

ARR = Range(A1:B1)

Regards,
Sam

On Sat, Dec 13, 2014 at 3:27 PM, Mandeep Baluja rockerna...@gmail.com
wrote:

 This Question is related to array before answering please check my file
 and see what I want to Clear it's not a query it's a concept.

 I am trying to find out

 Arr = Application.Transpose(Range(A1:A10))

 How array is considering this range whether in rows or in columns or
 whatever.

 MsgBox UBound(Arr, 1) Correct 10 rows
 MsgBox UBound(Arr, 2) *error subscript out of range. *

 *same thing  Getting correct result that means while doing transpose and
 then pass this into array having none of columns.? *

 arr = Range(A1:A10)
 MsgBox UBound(Arr, 1) Correct 10 rows
 MsgBox UBound(Arr, 2) Correct 1 Column

 Regards,
 Mandeep Baluja
 LearningZmyPassion
 https://www.linkedin.com/profile/view?id=312532939
 https://www.facebook.com/VBAEXCELSQL?ref=hl



  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.



-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ getting a macro to work on conditional formatting

2014-08-06 Thread Sam Mathai Chacko
Dan, you can get it yo work in Excel 2010 or above. There is a property
they introduced which will help to identity the actual interior color or
the color rendered by conditional format.

Regards
Sam
On 7 Aug 2014 06:57, Daniel Parmet danielpar...@gmail.com wrote:

 I have a macro (first I've ever written!) that works wonderfully with
 cells that have not been conditionally formatted:

 I need help with:

 Function CheckColor(range)
 'Returns Opportunity Words on deal score value.
   If range.Interior.Color = RGB(198, 239, 206) Then
 CheckColor = Opportunity is Green
 'MsgBox Opportunity is Green
 'Text Color = RGB(0, 97, 0)
 ElseIf range.Interior.Color = RGB(255, 235, 156) Then
 CheckColor = Opportunity is Yellow
 'MsgBox Opportunity is Yellow
 'Text Color = RGB(156, 101, 0)
 ElseIf range.Interior.Color = RGB(255, 199, 206) Then
 CheckColor = Opportunity is Red
' MsgBox Opportunity is Red
 'Text Color = RGB(156, 0, 6)
 Else
 CheckColor = Error
 'Text Color = RGB(0, 0, 0)
 End If
 End Function

 1) The text returned by macro to be a different font color (not sure how).
 2) This macro to work with conditional formatting.



 I found this website on the conditional formatting issue (
 http://www.cpearson.com/Excel/CFColors.htm) but was still unsure how to
 make it work with my code. I read through his code and it makes sense. For
 the conditional formatting value, it returns 35, 36, and 38. Though, those
 numbers did not work in my macro.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.


-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Sequence Formula

2014-07-18 Thread Sam Mathai Chacko
Not sure if it's better, but certainly fractionally simpler

=IF(E6=Model,INDEX($A$2:$A$11,COUNTIF($E$6:E6,E6)),)


On Fri, Jul 18, 2014 at 1:45 PM, Nitya nityanandadole...@gmail.com wrote:

 Thanks experts,

  I made it:  =IF(E6=Model,INDEX($A$2:$A$11,COUNTIF($E$5:E5,E6)+1),)

 if you have any better formula than please please share me.


 On Fri, Jul 18, 2014 at 12:59 PM, Nitya nityanandadole...@gmail.com
 wrote:

 Hi experts,

 I want to write a formula like wise : Where ever there is Model word,
 next to Model, the Part list should list accordingly in sequence. I have
 attached in details.

 I am struggling in writing formula. Please help.



 Regards,
 Nitya

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Excel 2013 Userform Popup menu

2014-05-08 Thread Sam Mathai Chacko
And does the same thing work in Excel 2010 or lesser?


On Thu, May 8, 2014 at 10:24 AM, The Frog mr.frog.to@googlemail.comwrote:

 Hi Everyone,

 I am having trouble making a pop-up menu display when working with a
 userform in Excel 2013. In the past I have used the CommandBars to create
 my popup, but this no longer seems to work. When trying to display any
 commandbar created popup menu in a userform the .ShowPopup method fails. I
 have no idea why.

 The problem is easy to reproduce:
 1/ Create a new userform
 2/ In the forms Initialize event create the CommandBar Object:

 On Error Resume Next
 Application.CommandBars(myMenu).Delete
 On Error GoTo 0

 With CommandBars.Add(Name:=myMenu, Position:=msoBarPopup,
 MenuBar:=False, temporary:=True)
 .Controls.Add Type:=msoControlButton
 .Controls(1).Caption = New Group
 .Controls(1).OnAction = addValueGroup
 .Controls(1).FaceId = 71
 .Controls.Add Type:=msoControlButton
 .Controls(2).Caption = Delete Group
 .Controls(2).OnAction = removeValueGroup
 .Controls(2).FaceId = 72
 End With

 3/ In the forms Click event:
 Application.CommandBars(myMenu).ShowPopup


 You will get an error on the .ShowPopup method call.

 I dont know what the cause of this error is. Any help is greatly
 appreciated.

 Cheers

 The Frog

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Run time error - Type mismatch

2014-04-28 Thread Sam Mathai Chacko
Vaibhav, before giving a solution, it is always a kind thing to do to
ensure you validate what you are saying. If the Applications Extensibility
library reference wasn't added, the sub-routine wouldn't have even execute
because the declaration in the following lines would have not compiled.

Dim SrcCmod As VBIDE.CodeModule
Dim DstCmod As VBIDE.CodeModule

Thanks,
Sam Mathai Chacko


On Mon, Apr 28, 2014 at 1:30 PM, Vaibhav Joshi v...@vabs.in wrote:

 Hi

 Check reference is given to Microsoft Visual Basic for Applications
 Extensibility 5.x

 Thanks


 On Mon, Apr 28, 2014 at 5:50 AM, Sam Mathai Chacko samde...@gmail.comwrote:

 Ondrej, for that you'll have to enable programmatic access to VBA. Just
 search the internet how to do that, or post back. Someone will help you.

 Regards,
 Sam Mathai Chacko
 On Apr 27, 2014 7:49 PM, Ondrej o.pel...@gmail.com wrote:

 HI buddies
 there is an error in the last sequence of this code (bold), and I can
 not find the reason why
 please help

 Sub btn_vytvorit_Click()
 Dim ws As Worksheet
 Dim wsName As String, Name As String
 Dim MsgError As String
 Dim wsCopyFrom As Worksheet
 Set wsCopyFrom = Worksheets(vzorovy_zapis)
 Dim Msg As String
 Dim msgsmazat As String
 Dim riadky As Range
 Dim noveriadky As Range
 Dim leden As Range
 Set leden = Range(A17:AA62)




 MsgError = Zadaný list již existuje! Vyberte bunku s jiným kódem.
 Potvrďte End.

 'generate ws
 If ActiveCell.Column  2 Then
 MsgBox (Nemáte označený kód zaměstnance)
 Sheets(db_kontakty).Activate
 Else

 If Not IsEmpty(ActiveCell) Then
 Name = ActiveCell.Value
 Set ws = Worksheets.Add
 ws.Move after:=Sheets(Sheets.Count)
 'not to have two equal ws
 Dim wks As Worksheet
 For Each wks In ActiveWorkbook.Worksheets
 If wks.Name = Name Then
 MsgBox MsgError, vbOKOnly, Pozor
 On Error GoTo Chyba
 End If


 Next wks
 ws.Name = Name
 'copy data from source

 wsCopyFrom.Columns(A:AG).Copy
 ws.Range(A1:AG1000).PasteSpecial (xlPasteAll)
 ws.Range(S2).Value = ws.Name

 'end of creating ws+setup row heights

 Set riadky = wsCopyFrom.Range(A1:AG1000)
 Set noveriadky = ws.Range(A1:AG1000)
 With riadky
 For r = 1 To .Rows.Count
 noveriadky.Rows(r).RowHeight = .Rows(r).RowHeight
 Next r
 End With


 Msg = Vložte údaje
 MsgBox (Msg)

 Chyba:
 Sheets(db_kontakty).Activate




 End If
 End If

 Dim i As Integer
 Dim SrcCmod As VBIDE.CodeModule
 Dim DstCmod As VBIDE.CodeModule


 * Set SrcCmod =
 ActiveWorkbook.VBProject.VBComponents(wsCopyFrom).CodeModule*

 Set DstCmod = ActiveWorkbook.VBProject.VBComponents(ws).CodeModule

 For i = 1 To SrcCmod.CountOfLines

 DstCmod.InsertLines i, SrcCmod.Lines(i, 1)
 Next i


 End Sub

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros

Re: $$Excel-Macros$$ Run time error - Type mismatch

2014-04-27 Thread Sam Mathai Chacko
Ondrej, for that you'll have to enable programmatic access to VBA. Just
search the internet how to do that, or post back. Someone will help you.

Regards,
Sam Mathai Chacko
On Apr 27, 2014 7:49 PM, Ondrej o.pel...@gmail.com wrote:

 HI buddies
 there is an error in the last sequence of this code (bold), and I can not
 find the reason why
 please help

 Sub btn_vytvorit_Click()
 Dim ws As Worksheet
 Dim wsName As String, Name As String
 Dim MsgError As String
 Dim wsCopyFrom As Worksheet
 Set wsCopyFrom = Worksheets(vzorovy_zapis)
 Dim Msg As String
 Dim msgsmazat As String
 Dim riadky As Range
 Dim noveriadky As Range
 Dim leden As Range
 Set leden = Range(A17:AA62)




 MsgError = Zadaný list již existuje! Vyberte bunku s jiným kódem.
 Potvrďte End.

 'generate ws
 If ActiveCell.Column  2 Then
 MsgBox (Nemáte označený kód zaměstnance)
 Sheets(db_kontakty).Activate
 Else

 If Not IsEmpty(ActiveCell) Then
 Name = ActiveCell.Value
 Set ws = Worksheets.Add
 ws.Move after:=Sheets(Sheets.Count)
 'not to have two equal ws
 Dim wks As Worksheet
 For Each wks In ActiveWorkbook.Worksheets
 If wks.Name = Name Then
 MsgBox MsgError, vbOKOnly, Pozor
 On Error GoTo Chyba
 End If


 Next wks
 ws.Name = Name
 'copy data from source

 wsCopyFrom.Columns(A:AG).Copy
 ws.Range(A1:AG1000).PasteSpecial (xlPasteAll)
 ws.Range(S2).Value = ws.Name

 'end of creating ws+setup row heights

 Set riadky = wsCopyFrom.Range(A1:AG1000)
 Set noveriadky = ws.Range(A1:AG1000)
 With riadky
 For r = 1 To .Rows.Count
 noveriadky.Rows(r).RowHeight = .Rows(r).RowHeight
 Next r
 End With


 Msg = Vložte údaje
 MsgBox (Msg)

 Chyba:
 Sheets(db_kontakty).Activate




 End If
 End If

 Dim i As Integer
 Dim SrcCmod As VBIDE.CodeModule
 Dim DstCmod As VBIDE.CodeModule


 * Set SrcCmod =
 ActiveWorkbook.VBProject.VBComponents(wsCopyFrom).CodeModule*

 Set DstCmod = ActiveWorkbook.VBProject.VBComponents(ws).CodeModule

 For i = 1 To SrcCmod.CountOfLines

 DstCmod.InsertLines i, SrcCmod.Lines(i, 1)
 Next i


 End Sub

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/d/optout.


-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.


Re: $$Excel-Macros$$ Re: Bypass the VBA Project Password

2014-02-11 Thread Sam Mathai Chacko
Read Rule No. 3

Regards,
Sam Mathai Chacko


On Wed, Feb 12, 2014 at 1:00 AM, Bernardo Pereira berd...@gmail.com wrote:

 Here's the file I need to crack!! Please help me!!

 Tks

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It's
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It's 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.


Re: $$Excel-Macros$$ Date Format conversion

2013-12-03 Thread Sam Mathai Chacko
Why don't you use a date picker? Better yet, a custom non-activex date
picker?


On Tue, Dec 3, 2013 at 10:46 PM, Rupesh Patil patil.rupesh1...@gmail.comwrote:

 since long time i guess no buddy have solution for it
 thanks experts


 On Wed, Nov 27, 2013 at 9:43 AM, Rupesh Patil 
 patil.rupesh1...@gmail.comwrote:

 Hi Expert

 I need a help for date conversion, let me explain my task, I have one
 userform with 10 multipage and each page have at list one date
 field(textbox), what i want is user can enter whatever date format he want
 but i want convert that format DD-MMM- so please help me out, How can
 i do this.

 thanks in advance

 --
 Thanks and Regards, Rp.

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Thanks and Regards, Rp.

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.


Re: $$Excel-Macros$$ Reverse a series of number in excel

2013-12-01 Thread Sam Mathai Chacko
By reverse, do you mean to reverse the position of the values, irrespective
of whether larger or smaller, or do you want to sort in the opposite
direction? If sort, why don't you just use Sort method?

If you want to simply reverse the values using formula, use

=INDEX($*A$1*:$A$4,ROWS($*A1*:$A$4))

Regards,
Sam Mathai Chacko


On Sun, Dec 1, 2013 at 8:56 PM, Nishant Sharma
sharma.nishan...@gmail.comwrote:

 1 4
 2 3
 3 2
 4 1


 On Sun, Dec 1, 2013 at 8:34 PM, ashish koul koul.ash...@gmail.com wrote:

 can u share sample file ?

 On Sun, Dec 1, 2013 at 7:54 PM, Nishant Sharma 
 sharma.nishan...@gmail.com wrote:

 how to do this using formula...


 On Sat, Nov 30, 2013 at 11:30 PM, ashish koul koul.ash...@gmail.comwrote:

 no ...


 On Sat, Nov 30, 2013 at 6:01 PM, Nishant Sharma 
 sharma.nishan...@gmail.com wrote:

 Hi,

 Please help me in reversing  numbers in excel.

 I did thru macro but cant undo it, can we undo a runned macro sheet??

 Thanks
 Nishant

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




 --
 *Regards*

 *Ashish Koul*


 *Visit*
 http://www.excelvbamacros.in
 Like Us on 
 Facebookhttp://www.facebook.com/pages/Excel-VBA-Codes-Macros/15180389897
 Join Us on Facebook http://www.facebook.com/groups/163491717053198/


 P Before printing, think about the environment.



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https

Re: $$Excel-Macros$$ Date Substraction

2013-12-01 Thread Sam Mathai Chacko
Srini, are you looking to subtract dates in column C from column B or vice
versa, ie, B-C or C-B? In addition, some values are coming as #N/A. What to
do with those?

Regards,
Sam Mathai Chacko


On Sun, Dec 1, 2013 at 3:57 PM, Shrinivas Shevde shrinivas...@gmail.comwrote:

 Dear all
 I want to subtract one date from another (file attached )
 Can anyone help me
 I think for the date format is not same

 Regards
 Shrini

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.


Re: $$Excel-Macros$$ Address of Shapes

2013-11-19 Thread Sam Mathai Chacko
The property TopLeftCell in itself is of type range. The code above can be
shorter.

Sub test()
Dim shp As Shape
For Each shp In ActiveSheet.Shapes
MsgBox shp.TopLeftCell.Address
Next
End Sub

Regards,
Sam Mathai Chacko


On Tue, Nov 19, 2013 at 2:22 PM, Chandra Shekar 
chandrashekarb@gmail.com wrote:

 Hello,

 Thank you very much.

 Regards,

 Chandru

 On Mon, Nov 18, 2013 at 11:45 PM, ashish koul koul.ash...@gmail.comwrote:

  Sub test()
 Dim shp As Shape

 For Each shp In ActiveSheet.Shapes
 MsgBox Cells(shp.TopLeftCell.Row, shp.TopLeftCell.Column).Address
 Next



 End Sub



 On Mon, Nov 18, 2013 at 1:38 PM, Chandra Shekar 
 chandrashekarb@gmail.com wrote:

 Hello,

 Is there anyway to get cell reference of shapes please find sampe excel.

 Thanks in advance.

 Regards,

 Chandru

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




 --
  *Regards*

 *Ashish Koul*


  *Visit*
 http://www.excelvbamacros.in
 Like Us on 
 Facebookhttp://www.facebook.com/pages/Excel-VBA-Codes-Macros/15180389897
 Join Us on Facebook http://www.facebook.com/groups/163491717053198/


 P Before printing, think about the environment.



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW

Re: $$Excel-Macros$$ Web Query Issues

2013-11-01 Thread Sam Mathai Chacko
Any possibility that there's something malicious about the site now?
Probably got recently infected, and your anti-virus program might be
disallowing any potentially harmful script(s) to run.


On Sat, Nov 2, 2013 at 3:11 AM, Bill Q ronsmith...@gmail.com wrote:

 Hi,

 Not sure if this is the proper forum to post this in, but I will give it a
 shot.

 Recently, a website that I frequently perform web queries on must have
 gone through some sort of change where I am getting the same errors on
 multiple computers in both Excel 2003  2007. I can't make heads or tails
 of it and was hoping that someone can help out with a workaround. I cannot
 log in from within the web query.

 Here are the details:

 * Site = www.covers.com

 One on you must sign in.

 * login name = whyger
 * password = 1234567

 You must also click on Remember me just below the password.

 No issue signing on directly from the web. The issues is when attempting
 to create a web query (or accessing an existing one).

 The following are the warnings I get BEFORE signing in:

 ***This content contains embedded content that may be harmful to your
 computer.
 Choose from one of the following options:

 - Do not allow content to play (recommended)
 - I recognize it. Allow it to play.

 I have tried both options. Neither make it work... and both give the same
 following error message:

 An error has occurred in the script on this page
 Line 2
 Char 32122
 code 0
 URL 
 http://ajax.googleapis.com/**ajax/libs/query/1.8.3/querry.**minhttp://ajax.googleapis.com/ajax/libs/query/1.8.3/querry.min
  js

 Do you want to continue running scripts on this page ?

 I have tried both scenarios.

 Once filling in the login and password and pressing remember me, I press
 teh sign in button but nothing ever happens.

 Anyone please ?

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.


Re: $$Excel-Macros$$ excel question

2013-11-01 Thread Sam Mathai Chacko
Are you looking for this?

=COUNTIF($D$2:$D$15,S)

Regards,
Sam Mathai Chacko


On Sat, Nov 2, 2013 at 4:16 AM, Robert Barnes rbar...@hcsgcorp.com wrote:



 First of all thank you. I am, at best, a novice user of excel. Even though
 we use it for its most basic functions daily. I am attempting to go to the
 next level with an inspection form that we use by allowing employees to use
 tablets to complete. On the inspection we enter an s for satisfactory.
 Unsat is another column and we do not need to do anything with it.
 So what I have entered is an IF and it works. However I am not able to
 just drag it down for the next 15 cells or so and it add all the S's up as
 numbers. At the bottom of the sheet, if there are 15 items inspected, I
 want it to add all up and give me 15 as a total, assuming an S is in each
 of the above 15 cells. If there is a way to drag to add the cells it would
 be helpful since there are several hundred total S opportunities in
 multiple sections.Thanks again for any assistance.


 =IF(A1=S,1,0)

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.


Re: $$Excel-Macros$$ Alternative to indirect Function in VBA

2013-10-31 Thread Sam Mathai Chacko
Function INDIRECTVBA(strSource As String)

INDIRECTVBA = Evaluate(=  strSource)

End Function

Regards,
Sam Mathai Chacko


On Thu, Oct 31, 2013 at 11:38 PM, Hilary Lomotey resp...@gmail.com wrote:

 Hello Experts,

 i need an assistance with an alternative way of getting the indirect
 function of excel in VBA. I have attached a sample for your perusal.
 Basically i want to be able to do what i have done in the attached with
 VBA. Pls assist. thanks

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.


Re: $$Excel-Macros$$ Alternative to indirect Function in VBA

2013-10-31 Thread Sam Mathai Chacko
PFA



On Thu, Oct 31, 2013 at 11:50 PM, Hilary Lomotey resp...@gmail.com wrote:

 thanks Sam, can you send it in excel format, i typed indirectvba=then i
 refered to the datavalidation, but am getting an error. kind;y send me the
 file. thanks


 On Thu, Oct 31, 2013 at 6:15 PM, Sam Mathai Chacko samde...@gmail.comwrote:

 Function INDIRECTVBA(strSource As String)

 INDIRECTVBA = Evaluate(=  strSource)

 End Function

 Regards,
 Sam Mathai Chacko


 On Thu, Oct 31, 2013 at 11:38 PM, Hilary Lomotey resp...@gmail.comwrote:

 Hello Experts,

 i need an assistance with an alternative way of getting the indirect
 function of excel in VBA. I have attached a sample for your perusal.
 Basically i want to be able to do what i have done in the attached with
 VBA. Pls assist. thanks

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Sam Mathai Chacko

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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

Re: $$Excel-Macros$$ information

2013-09-28 Thread Sam Mathai Chacko
A formula likes can give you an idea

=COUNTA(B:XFD,A2:A1048576)


On Sat, Sep 28, 2013 at 2:19 PM, Rajesh Agarwal rajey...@gmail.com wrote:

 Hello Everyone
 I want to know if someone write something in any cell of the sheet for
 example in the cell IT65514. Is it possible to find that this sheet has
 anything written on it.

 --
 *Rajesh Kumar Agarwal*
 *9811063001*

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.


Re: $$Excel-Macros$$ Date formatting prob! help!

2013-09-20 Thread Sam Mathai Chacko
Hi mum,

The 5 digit number is the equivalent value of the corresponding date in
that cell. You should see the correct format if you press CTRL+`

` is normally found just about the TAB key

Regards,
Sam Mathai Chacko


On Fri, Sep 20, 2013 at 8:31 PM, Dawn dawn1909simp...@gmail.com wrote:

 Hi!
 Im updating my skills in excel and have created a spreadsheet with heaps
 of dates in a column.  They have 'somehow' all changed to a five digit
 number!  The original date can still be seen in the text bar at the top but
 doesn't appear in the cell.  Ive tried to format the column back to a short
 date but it doesn't work. Obviously Ive done something wrong.  Can one of
 your experts help me here please.
 PS  Im an older Mum and this is a 'relearning' curve for me.  Thanks in
 advance!



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.


Re: $$Excel-Macros$$ Can I add a bespoke menu in Excel 2013?

2013-09-19 Thread Sam Mathai Chacko
Hi Dave,

Since many of us have switched to Excel 2007 or above, it would be nice if
you can attach a picture of this bespoke menu, and then try to relate to
what you are expecting in your new version of Excel.

Regards,
Sam Mathai Chacko


On Thu, Sep 19, 2013 at 8:38 PM, Dave Tomlinson dave.t...@gmail.com wrote:


 I have a number of oldish spreadsheets which (in Excel 2003) had a bespoke
 menu to do most of the work through macros.

 In 2013 the Menu appears as an Add-in with the subitems expandable
 beneath it.  I woud like to get back to having a bespoke menu but having
 the individual macros a add-ins would be acceptable.  Below is my code for
 creating the menu and sub-items.  Can someone tell me how to change this to
 achieve my end please?

 DaveT
 In Sunny South Yorkshire

 Sub SetupMenus()
 'ADD MENUS to the worksheet menu bar.
 'We also need to attach macros to each of the menu options by using the
 OnAction argument.

MenuBars(xlWorksheet).Menus.Add Caption:=  ClubName, Before:=9
MenuBars(xlWorksheet).Menus(ClubName).MenuItems.Add Caption:=New
 Download, Before:=1, OnAction:=NewDownload
MenuBars(xlWorksheet).Menus(ClubName).MenuItems.Add Caption:=New
 Month, Before:=1, OnAction:=NewMonth
MenuBars(xlWorksheet).Menus(ClubName).MenuItems.Add Caption:=Member
 Extract, Before:=1, OnAction:=MemberExtract
MenuBars(xlWorksheet).Menus(ClubName).MenuItems.Add Caption:=New
 Share, Before:=1, OnAction:=NewShare
MenuBars(xlWorksheet).Menus(ClubName).MenuItems.Add Caption:=Add to
 Holding, OnAction:=InsertShare
MenuBars(xlWorksheet).Menus(ClubName).MenuItems.Add Caption:=About
 this Workbook, OnAction:=About
 '   MenuBars(xlWorksheet).Menus(ClubName).MenuItems.Add Caption:=-,
 Before:=Print
 End Sub

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.


Re: $$Excel-Macros$$ Activate Particular Window

2013-09-06 Thread Sam Mathai Chacko
Interesting. I've worked through 8 to 14, never got a chance to work on 15.
Did you try changing the modal property of the userform? Or a line in the
end saying UserForm.activate?

Sam Mathai Chacko
On Sep 7, 2013 8:01 AM, John Wilson wilson9...@gmail.com wrote:

 I'm in the process of upgrading / rewriting a business application in
 Excel that I started years ago.
 It's shared on our network and people with Versions 8 through 15 are using
 it (now you get an
 idea of my headache).
 One issue (actually quite a number but just this one for now) and it seems
 to be version 15 only.
 I have a userform.
 When it opens, 3 other workbooks open, it gets data from them and displays
 it on the userform.
 I leave those files open so that they don't have to be reopened if the
 user changes search criteria
 until the userform is closed (and the 3 files close)
 In version 15, when it's done loading, I'm stuck looking at the last Excel
 file opened and not my UserForm
 on the initial workbook??
 I've already tried a number of different options without any success.
 Versions 8 thru 14 work fine.
 Any ideas?

 Thanks,
 John

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.


Re: $$Excel-Macros$$ Loop to check if cell is blank, if so copy the cell above

2013-09-01 Thread Sam Mathai Chacko
Try this Clark

With Range(A1:A  Cells(Rows.Count,
A).End(xlUp).Row).SpecialCells(xlCellTypeBlanks)
.FormulaR1C1 = =R[-1]C
.Value2 = .Value2
End With



On Sun, Sep 1, 2013 at 11:55 PM, Clark Feusier 
clark.feus...@creativetrust.com wrote:

 I am very new to excel VBA macros and I am trying to figure out how to go
 through all of the cells in a single column starting from the top and and
 checking each cell to see if it's blank/empty. If blank, I would like the
 macro to paste the cell contents from directly above. If the cell isn't
 empty, it would move to the next cell down. This would repeat through the
 whole column. Until they all the cells of that column are full. I have
 started putting something together but this is beyond me so far. I can't
 figure out what to put in the DO SOMETHING lines. Any guidance is very
 much appreciated, even if it is just calling me an idiot and pointing me to
 some information where I can learn this quickly. Thanks!! See below:

 Sub FillBlanks()
 Dim rRange1 As Range, rRange2 As Range
 Dim iReply As Integer
 If Selection.Cells.Count = 1 Then
 DO SOMETHING
 Exit Sub
 ElseIf Selection.Columns.Count  1 Then
 DO SOMETHING
 Exit Sub
 End If
 Set rRange1 = Range(Selection.Cells(1, 1), _
 Cells(65536, Selection.Column).End (xlUp)
 On Error Resume Next
 Set rRange2 = rRange1.SpecialCells(xlCellTypeBlanks)
 On Error GoTo 0
 If rRange2 Is Nothing Then
 DO SOMETHING
 Exit Sub
 End Sub

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.


Re: $$Excel-Macros$$ Loop to check if cell is blank, if so copy the cell above

2013-09-01 Thread Sam Mathai Chacko
I'm sure you've figured out the 'with' part. The formular1c1 just passes
the formula mentioned there to all blank cells. The trick is in using it as
an r1c1 formula. If you look closer, all it is passing is the equivalent of
one row above, denoted by the minus one in the square brackets and the same
column, and hence no square brackets after the C.

And then just remove the formulas by passing value as value. Remove that
line and test the code, you'll figure it out.

Sam
On Sep 2, 2013 1:38 AM, Clark Feusier clark.feus...@creativetrust.com
wrote:

 Ah perfect!! Thanks so much Sam.

 I had hacked together a recorded macro that used function f5 goto special
 blanks and then inputing the start of the range and control+copying. Your
 way is much better.

 If you end up having a second, could you explain what this is doing and
 how? If not, I totally understand -- I want to learn it though, not just
 use it :)

 Thanks Sam,

 Clark

 On Sunday, September 1, 2013 3:03:53 PM UTC-5, Sam Mathai Chacko wrote:

 Try this Clark

 With Range(A1:A  Cells(Rows.Count, A).End(xlUp).Row).**
 SpecialCells(xlCellTypeBlanks)
 .FormulaR1C1 = =R[-1]C
 .Value2 = .Value2
 End With



 On Sun, Sep 1, 2013 at 11:55 PM, Clark Feusier clark@creativetrust.*
 *com wrote:

 I am very new to excel VBA macros and I am trying to figure out how to
 go through all of the cells in a single column starting from the top and
 and checking each cell to see if it's blank/empty. If blank, I would like
 the macro to paste the cell contents from directly above. If the cell isn't
 empty, it would move to the next cell down. This would repeat through the
 whole column. Until they all the cells of that column are full. I have
 started putting something together but this is beyond me so far. I can't
 figure out what to put in the DO SOMETHING lines. Any guidance is very
 much appreciated, even if it is just calling me an idiot and pointing me to
 some information where I can learn this quickly. Thanks!! See below:

 Sub FillBlanks()
 Dim rRange1 As Range, rRange2 As Range
 Dim iReply As Integer
 If Selection.Cells.Count = 1 Then
 DO SOMETHING
 Exit Sub
 ElseIf Selection.Columns.Count  1 Then
 DO SOMETHING
 Exit Sub
 End If
 Set rRange1 = Range(Selection.Cells(1, 1), _
 Cells(65536, Selection.Column).End (xlUp)
 On Error Resume Next
 Set rRange2 = rRange1.SpecialCells(**xlCellTypeBlanks)
 On Error GoTo 0
 If rRange2 Is Nothing Then
 DO SOMETHING
 Exit Sub
 End Sub

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
 https://www.facebook.com/**discussexcelhttps://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 unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros...@**googlegroups.com.
 To post to this group, send email to excel-...@googlegroups.com.
 Visit this group at 
 http://groups.google.com/**group/excel-macroshttp://groups.google.com/group/excel-macros
 .
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .




 --
 Sam Mathai Chacko

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send

Re: $$Excel-Macros$$ Microsoft Excel based application that digitizes data from pictures

2013-08-21 Thread Sam Mathai Chacko
Did you try http://www.ozgrid.com/Services/excel-charts-digitized.htm
On Aug 21, 2013 11:04 AM, P.VIJAYKUMAR vijay.4...@gmail.com wrote:

 Respected Mog-Godiva,

 You can find the digitizer from the following links,
 http://digitizer.sourceforge.net/
 http://www.mathtools.net/Excel/Graphics_and_Visualization/


 Regards,
 Vijaykumar


 On Wed, Aug 21, 2013 at 5:43 AM, Mog Godiva-Man osaze...@gmail.comwrote:

 Anyone know where I can get some Addin for digitizing data from graphical
 line/chart images in excel.

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




 --









 P.VIJAY KUMAR

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.


$$Excel-Macros$$ Re: saving unique values from a dependant combobox to a sheet

2013-08-09 Thread Sam Mathai Chacko
Cross-posted at 
http://www.excelfox.com/forum/f2/extract-unique-values-based-on-dependant-combobox-selections-1353/

Please read http://www.excelfox.com/forum/f25/message-to-cross-posters-1172/

Regards,
Sam

On Saturday, 10 August 2013 02:18:19 UTC+5:30, Ricardo Fourie wrote:

 good day

 i have a source sheet and a resultant sheet. i have a form with comboboxes 
 on which gets it data from the source sheet.
 i have 3 dependant combobox on the form. combobox 1 is populated on 
 userform_initialize, combobox 2 is then populated by a unique list of 
 values based on combobox 1, combobox 3 is populated by a unique list of 
 values based on combobox 2.
 i now need to load the unique list of resultant values from combobox 3 in 
 a dynamic range or array and print it to a sheet using a command button. 
 here are two conditions though,
 1. the columns in the resultant sheet is: A = District, B = Town, C = Name 
 and D = Number. each of the comboboxes represents a column. so i need to 
 print the unique numbers in column D to the resultant sheet, and
 2. it has to actually duplicate the unique values under each of the other 
 columns.

 so in the resultant sheet, once the process is completed and it is 
 printing say 4 unique numbers under column D, it has to duplicate from 
 column A (District) to column C(Name) those values that belongs to column 
 D(number).
 the result would look like this after clicking the command button:
 DISTRICTTOWNNAMENUMBERNORTHAJOHNA123NORTHAJOHNA786NORTHAJOHNB124NORTHAJOHN
 B456


-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Re: Convert number of days to month and day (ie, 035 = 2/4)

2013-08-08 Thread Sam Mathai Chacko
My understanding was that Don was actually looking for a result that is in
M/Y format, not date format. So the solution should be =TEXT(DATE(2013,1,*No.
Of Days*), m\/d) where *No. Of Days* is the range where the numbers are
listed, for example A2.

Regards,
Sam Mathai Chacko


On Thu, Aug 8, 2013 at 8:21 PM, itware2008 itware2...@gmail.com wrote:

 Hello Don,

 If I understood you, this function should help you

 =DATE(YEAR(TODAY());1;0)+A2

 where A2 represents the number red by barcode scanner

 OS

 Quarta-feira, 7 de Agosto de 2013 23:41:24 UTC+1, Don Barton escreveu:

 Greetings,
 I work at a hospital laboratory and we have an expiration date barcode on
 blood transfusion units that formats the month and day as a number; the
 number of days since the beginning of the year.  We use a barcode scanner
 to read in the expiration date, but need to convert the number of days to
 month and day.  For example for this year (2013), 015 Would be 1/15, 275
 would be 10/2.  The expiration date includes year and time as well, but I
 can pull out the numbers of days using the MID function.
 I've looked through several websites as well as this Group, but haven't
 found any solutions yet.

 Thanks,

 Don

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Macro to delete row with specific phrase

2013-08-07 Thread Sam Mathai Chacko
Save those list of entries in another sheet, say Sheet2. Then use

Dim varArray

varArray = Worksheets(Sheet2).Range(A1:A1000).Value2

Then do

For Each Str In varArray


On Wed, Aug 7, 2013 at 11:40 PM, Spencer Patterson 
williamspencerpatter...@gmail.com wrote:

 In my excel sheet, I have an array but the amount of entries is close to
 1,000 separate items. I am limited to 255 / too many line continuations.

 Would calling a file or creating a dictionary/collection be best to
 implement into the array?

 Sub longfunction()

 Dim Rng As Range, Str
 Range(A1).Select

 Do
 For Each Str In Array(too many, items to fit, in one array,
 need dictionary or, need to call file)
 If InStr(1, Selection, Str)  0 Then Selection.EntireRow.Delete
 Next

 Selection.Offset(1, 0).Select
 Loop Until Selection.Offset(0, 0) = 
 End Sub

 How would I implement this?

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Convert number of days to month and day (ie, 035 = 2/4)

2013-08-07 Thread Sam Mathai Chacko
Don, try passing the number of days to the date function like this.

=TEXT(DATE(2013,1,No. Of Days - 1), m\/d)

Sam MATHAI CHACKO
On Aug 8, 2013 4:11 AM, Don Barton donaldb...@gmail.com wrote:

 Greetings,
 I work at a hospital laboratory and we have an expiration date barcode on
 blood transfusion units that formats the month and day as a number; the
 number of days since the beginning of the year.  We use a barcode scanner
 to read in the expiration date, but need to convert the number of days to
 month and day.  For example for this year (2013), 015 Would be 1/15, 275
 would be 10/2.  The expiration date includes year and time as well, but I
 can pull out the numbers of days using the MID function.
 I've looked through several websites as well as this Group, but haven't
 found any solutions yet.

 Thanks,

 Don

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Convert number of days to month and day (ie, 035 = 2/4)

2013-08-07 Thread Sam Mathai Chacko
In fact you probably don't need that - 1. Remove it. I'm just typing this
on my handset, so please don't mind.
On Aug 8, 2013 6:50 AM, Sam Mathai Chacko samde...@gmail.com wrote:

 Don, try passing the number of days to the date function like this.

 =TEXT(DATE(2013,1,No. Of Days - 1), m\/d)

 Sam MATHAI CHACKO
 On Aug 8, 2013 4:11 AM, Don Barton donaldb...@gmail.com wrote:

 Greetings,
 I work at a hospital laboratory and we have an expiration date barcode on
 blood transfusion units that formats the month and day as a number; the
 number of days since the beginning of the year.  We use a barcode scanner
 to read in the expiration date, but need to convert the number of days to
 month and day.  For example for this year (2013), 015 Would be 1/15, 275
 would be 10/2.  The expiration date includes year and time as well, but I
 can pull out the numbers of days using the MID function.
 I've looked through several websites as well as this Group, but haven't
 found any solutions yet.

 Thanks,

 Don

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ excel macro help on regular basis required- on weekly payment/hourly basis

2013-08-04 Thread Sam Mathai Chacko
As you can imagine, it's not easy to set up such a relationship that pays
on a weekly basis. Instead of paying weekly, why don't you hire a developer
on project basis only as and when you need it? You could use
http://www.excelfox.com/forum/f21/ to post queries that you are willing to
pay for.


On Sun, Aug 4, 2013 at 2:45 PM, Sara Lee lee.sar...@gmail.com wrote:

 I neeed excel macro help on a regualr basis...can pay in dollars every
 week. if you have time this week, can you pleas reply to me?

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ VBA remove character at beginning and end of string (cell)

2013-07-29 Thread Sam Mathai Chacko
Are the entire code only numerics, or are they alpha numeric?


On Mon, Jul 29, 2013 at 10:44 PM, Don Barton donaldb...@gmail.com wrote:

 Greetings,
 We have a scanner we use to scan a barcode for blood units for a hospital
 into an Excel spreadsheet.  The scanner reads the entire barcode, but we
 want to remove  00 at the end of the scanned string. If there isn't 00
 at the end, make it null cell.  We are using the correct symbology for the
 barcode scanner.

 Sub trunkit()

   For ctx = 2 To 100
If Right(Cells(ctx, 3), 2) = ”00” Then
  Trim (Right(Cells(ctx, 3), 2))
Else
 IsNull (Cells(ctx, 3))
End If
   Next ctx
   End Sub



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Is it possible to hide the name manager menu?

2013-07-07 Thread Sam Mathai Chacko
Aashish,

Even if you hide the name manager button, one could still envoke it using
CTRL + F3.

Regards,
Sam


On Sun, Jul 7, 2013 at 5:50 PM, Aashish Watve aashi...@gmail.com wrote:

 Hi,

 I am working on a excel dashboard, where I have hidden many worksheets.
 However, the name manager shows the formulas I have used referring to the
 hidden worksheets.

 I am however not able to find a way to hide the formula's, cell
 references, lists I have used in various formulas. They appear in the name
 manager. Is it possible to hide those?

 Any solution with or without VBA macro is appreciated.

 Regards,
 Aashish

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Collate data from folder

2013-06-26 Thread Sam Mathai Chacko
http://www.excelfox.com/forum/f2/copy-data-from-multiple-workbooks-to-a-master-workbook-1045/

http://www.excelfox.com/forum/f2/consolidate-multiple-workbooks-from-a-folder-into-one-master-file-vba-1077/

Try these

Regards,
Sam




On Wed, Jun 26, 2013 at 6:16 PM, Rajan sharma rajansharma9...@gmail.comwrote:

 Dear All,

 I have more than 100 excel files in a single folder. And all the
 folder has common headings. I want to collate all the 100 excel files into
 as one single sheets. How to do that, Is there option in excel upload
 option or by Vba ?. Plse suggest.



   My files are in D drive and folder name as Group_Data.

 Thanks experts.



 With warm regards,
 Rajan Sharma


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Subtatal by VBA(urgent)

2013-06-22 Thread Sam Mathai Chacko
Range(A1).CurrentRegion.Subtotal GroupBy:=3, Function:=xlSum,
TotalList:=Array(4, 5, 6)

Sam Mathai Chacko


On Sat, Jun 22, 2013 at 1:08 PM, priti verma pritiverma1...@gmail.comwrote:

 Hi group,

  pleaase help me to solve this .see attachment for more clarification.
  I want a macro for this.

 Thanks in advance
 Priti verma

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Subtatal by VBA(urgent)

2013-06-22 Thread Sam Mathai Chacko
Here's a list of threads from Excel Fox that contains use of Array and
various manipulations

http://www.excelfox.com/forum/search.php?searchid=139820
http://www.excelfox.com/forum/search.php?searchid=139822


On Sat, Jun 22, 2013 at 1:40 PM, priti verma pritiverma1...@gmail.comwrote:

 Hi Sam,
 do you Know any good site from where i Learn array in vba.


 On Sat, Jun 22, 2013 at 1:22 PM, priti verma pritiverma1...@gmail.comwrote:


 Thanks  sam its working fine,


 On Sat, Jun 22, 2013 at 1:14 PM, Sam Mathai Chacko samde...@gmail.comwrote:

 Range(A1).CurrentRegion.Subtotal GroupBy:=3, Function:=xlSum,
 TotalList:=Array(4, 5, 6)

 Sam Mathai Chacko


 On Sat, Jun 22, 2013 at 1:08 PM, priti verma 
 pritiverma1...@gmail.comwrote:

 Hi group,

  pleaase help me to solve this .see attachment for more clarification.
  I want a macro for this.

 Thanks in advance
 Priti verma

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Sam Mathai Chacko

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.





  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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

Re: $$Excel-Macros$$ Double Click To Copy Data To Another Worksheet

2013-06-16 Thread Sam Mathai Chacko
It wasn't Single click that Sajid asked for. It was double click. Yes, as
Vabs mentioned, there's isn't a single click event on sheet, however,
there's a double click event.

Private Sub Worksheet_Before*Double*Click(ByVal Target As Range, _
cancel As Boolean)
Dim rng As Range
Set rng = Range(E  Cells(Rows.Count, E).End(xlUp).Offset(1, 0).Row)
cancel = True
With Selection
Selection.Copy Destination:=rng
End With
End Sub

Regards,
Sam Mathai Chacko


On Sun, Jun 16, 2013 at 4:09 PM, VBA VABZ v...@vabs.in wrote:

 Hi

 Try this code:


 Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, _
 cancel As Boolean)
 Dim rng As Range
 Set rng = Range(E  Cells(Rows.Count, E).End(xlUp).Offset(1, 0).Row)
 cancel = True
 With Selection
 Selection.Copy Destination:=rng
 End With
 End Sub

 Here rng specifies destination rage which you can alter.
 Since there is no single left click event procedure, you have to Right
 Click to activate macro.
 Paste Macro in sheet module to work.


 On Sat, Jun 8, 2013 at 10:04 PM, SAJID MEMON sajidwi...@hotmail.comwrote:

 Dear Experts, I require in excel 2003 platform
 Double Click To Copy Data To Another Worksheet sample temple require in
 excel 2003.

 please give me above thing.

 awaiting your reply,
 Regards
 Sajid Memon



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.

 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros

Re: $$Excel-Macros$$ Double Click To Copy Data To Another Worksheet

2013-06-16 Thread Sam Mathai Chacko
I do differ. The boolean argument in the double click event can be
manipulated from getting in to edit mode. That doesn't have to be
substituted with the right-click event.


On Sun, Jun 16, 2013 at 5:55 PM, VBA VABZ v...@vabs.in wrote:

 Reason for using right clik was, once you double click cell you get in to
 cell edit mode. So sheet change event stops, if you want to copy data to
 destination more than once you can achieve it with right click.

 Cheerz.
 On 16 Jun 2013 17:28, Sam Mathai Chacko samde...@gmail.com wrote:

 It wasn't Single click that Sajid asked for. It was double click. Yes, as
 Vabs mentioned, there's isn't a single click event on sheet, however,
 there's a double click event.

 Private Sub Worksheet_Before*Double*Click(ByVal Target As Range, _
 cancel As Boolean)
 Dim rng As Range
 Set rng = Range(E  Cells(Rows.Count, E).End(xlUp).Offset(1, 0).Row)
 cancel = True
 With Selection
 Selection.Copy Destination:=rng
 End With
 End Sub

 Regards,
 Sam Mathai Chacko


 On Sun, Jun 16, 2013 at 4:09 PM, VBA VABZ v...@vabs.in wrote:

 Hi

 Try this code:


 Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, _
 cancel As Boolean)
 Dim rng As Range
 Set rng = Range(E  Cells(Rows.Count, E).End(xlUp).Offset(1, 0).Row)
 cancel = True
 With Selection
 Selection.Copy Destination:=rng
 End With
 End Sub

 Here rng specifies destination rage which you can alter.
 Since there is no single left click event procedure, you have to Right
 Click to activate macro.
 Paste Macro in sheet module to work.


 On Sat, Jun 8, 2013 at 10:04 PM, SAJID MEMON sajidwi...@hotmail.comwrote:

 Dear Experts, I require in excel 2003 platform
 Double Click To Copy Data To Another Worksheet sample temple require in
 excel 2003.

 please give me above thing.

 awaiting your reply,
 Regards
 Sajid Memon



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros.

 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Sam Mathai Chacko

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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

Re: $$Excel-Macros$$ how to remove special character from work sheet

2013-06-13 Thread Sam Mathai Chacko
You could use the function given here

Enum WhatToRemove
  Text = 0
  numeric = 1
  SpecialCharacters = 2
End Enum

Sub RunMe()

Dim rng As Range, obj As Object
Set obj = CreateObject(VBScript.RegExp)
For Each rng In ActiveSheet.UsedRange.Cells
If Not IsEmpty(rng) Then
rng.Formula = RemoveCharacters(rng.Formula, 2)
End If
Next rng

End Sub

Function RemoveCharacters(ByVal StringToReplace As String, WhatRemove As
WhatToRemove) As String
  Dim X As Long, Pattern() As String
  Pattern = Split([A-Za-z] # [#~!@$%^*()'={}[:+;?,./\-])
  If WhatRemove = SpecialCharacters Then StringToReplace =
Replace(StringToReplace, ], )
  For X = 1 To Len(StringToReplace)
If Mid(StringToReplace, X, 1) Like Pattern(WhatRemove) Then
Mid(StringToReplace, X, 1) = Chr(1)
  Next
  RemoveCharacters = Replace(StringToReplace, Chr(1), )
End Function


http://www.excelfox.com/forum/f13/remove-special-characters-from-text-or-remove-numbers-from-text-576/


On Thu, Jun 13, 2013 at 4:11 PM, Govind Mori mori.gov...@gmail.com wrote:

 Dear Excel Gurus

 I am new to Macro

 I would like to remove all special character from entire worksheet.

 Please hele me by MACRO

 Thanks in advance

 Govind Mori

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ copy formula down

2013-04-25 Thread Sam Mathai Chacko
Dave,  you might want to explain that a bit. Not exactly sure what you are
saying.


On Thu, Apr 25, 2013 at 5:40 AM, David H dhermu...@gmail.com wrote:



 I am using an excel spreadsheet in conjunction with Loftware. which
 requires headers in cells A1 and B1.  I have formulas in A2 and B2
 calculating data from C2 and D2.  I'll enter data in columns C  D and then
 copy the formula down in columns   A and B.
 My problem is when I reset the worksheet, my formula wants to copy the
 header into cells A2  B2 instead of the formula.
 Here are the macros I am using.

 Sub copydown()
 ' create_labels Macro
 ' makes spreadsheet for BSI labels

 Dim Lrow As Long
 Lastrow = Range(C  Rows.Count).End(xlUp).Row
 Range(A2:B  Lastrow).FillDown
 End Sub

 Sub close_sheet()
 '
 ' close_sheet Macro
 '

 '
 Range(A2).Select
 Range(Selection, Selection.End(xlDown)).Select
 Range(Selection, Selection.End(xlToRight)).Select
 Selection.ClearContents
 Range(C3).Select

 End Sub

 Can anyone help.

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Re: VBA to Open Access When User Has Runtime Access Installed

2013-04-17 Thread Sam Mathai Chacko
If it is just information retrieval, why don't you use ACE.OLEDB connection
from Excel and display the required information in an excel sheet itself?
Or why don't you try linked tables? You don't necessarily need to open a
database to show what's in it?


On Wed, Apr 17, 2013 at 3:13 PM, neilstewa...@sky.com wrote:

 Hi Sam,

 Thanks for the response. The purpose of opening with VBA is simple, it's
 just to open it so front end users can use the database for it's purpose of
 information retrieval, reporting etc.

 The user group requires to access many different Excel reports and
 Access databases with many of the reports being archived back as far as
 2006, and so I have created a switchboard in Excel using VBA that will open
 any report or database by selecting drop down options for day / month /
 year as required. This means users can have easy access to the full suite
 of information from one source and simplifies things a lot and ensures all
 users know what reports/databases are out there i.e. no excuses. Excel is
 fine, of course but I have the Access issue which I am struggling to
 overcome.

 Thanks, Neil



 On Monday, April 15, 2013 1:31:58 PM UTC+1, neilst...@sky.com wrote:

 Hi all,

 I am stuck, hope someone can help me...

 I a using the following code in Excel, to open an Access database. It
 works fine for users with Full Version Access installed however I get an
 Activex cannot create object error for users who only have Access runtime
 installed (most users). Is there a way to overcome this issue?

 I have this golbal declaration...

 Global appAccess As Object

 An then this code resides in an onButtonCLick function...

 Set appAccess = CreateObject(Access.**Application)
 Application.DisplayAlerts = False
 Set appAccess = GetObject(K:\Folder\Database.**mdb)

 Thanks in advance for your help.

  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Round off in multiple of 25 paise!

2013-04-17 Thread Sam Mathai Chacko
And this one too =MROUND(A1-0.25/2,0.25)

Regards,
Sam Mathai Chacko


On Wed, Apr 17, 2013 at 10:28 PM, Kanwaljit Singh kanwal...@gmail.comwrote:

 Much Better Paul :)


 On Wed, Apr 17, 2013 at 10:24 PM, Paul Schreiner 
 schreiner_p...@att.netwrote:

 since you're rounding to .25,
 then you can simply multiply your number by 4,
 round it down to the lower integer,
 then multiply by 4..

 =ROUNDDOWN(A1*4,0)/4


 *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:* chhajersand...@gmail.com chhajersand...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Wed, April 17, 2013 12:26:39 PM
 *Subject:* $$Excel-Macros$$ Round off in multiple of 25 paise!

 Dear Expert,

 I want a formula where decimal will rounded off in multiple of 0.25 paise.

 Like if amount is between 100.00 to 100.24 it will show 100.00.
 if amount is between 100.25 to 100.49 it will show 100.25.
 if amount is between 100.50 to 100.74 it will show 100.50.
 if amount is between 100.75 to 100.99 it will show 100.75.

 Thanks and regards,
 Sandeep Chhajer.

 Sent on my BlackBerry® from Vodafone

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






 --
 Sincere Regards
 CA Kanwaljit Singh Dhunna
 +91-987 6739 911
 +91-950 1031 007

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel

Re: $$Excel-Macros$$ Required Roundup Formula.............

2013-04-16 Thread Sam Mathai Chacko
Since you've ruled out 5 and 10, I would've thought =MROUND(C1+5/2,5)
should be fine

Regards,
Sam Mathai Chacko


On Tue, Apr 16, 2013 at 8:46 PM, Priti_verma pritiverma1...@gmail.comwrote:

 Hi  Kuldeep

 I think this formula fullfil your requirement.

 =ROUNDUP((A2*2)/10,0)*10/2

 Regards 

 Priti verma

 ** **

 *From:* excel-macros@googlegroups.com [mailto:
 excel-macros@googlegroups.com] *On Behalf Of *Kuldeep Singh
 *Sent:* 16 April 2013 8:17
 *To:* excel-macros@googlegroups.com; excelvbacli...@googlegroups.com;
 excel-vba-h...@googlegroups.com

 *Subject:* $$Excel-Macros$$ Required Roundup Formula.

 ** **

 Hi Experts,

 ** **

 I want to roundup formula but according to my requirement. requirement is
 attached

 ** **

 *If value is digit 2,3,4 output 5 Other value is digit 6,7,8,9 output 10**
 ***

 ** **

 Thanks in Advance.


 Regards,

 Kuldeep Singh

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.

  

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ VBA to Open Access When User Has Runtime Access Installed

2013-04-16 Thread Sam Mathai Chacko
For the sake of you opening up your options for a response, why don't you
tell us why you want to open the access database using code?


On Mon, Apr 15, 2013 at 6:01 PM, neilstewa...@sky.com wrote:

 Hi all,

 I am stuck, hope someone can help me...

 I a using the following code in Excel, to open an Access database. It
 works fine for users with Full Version Access installed however I get an
 Activex cannot create object error for users who only have Access runtime
 installed (most users). Is there a way to overcome this issue?

 I have this golbal declaration...

 Global appAccess As Object

 An then this code resides in an onButtonCLick function...

 Set appAccess = CreateObject(Access.Application)
 Application.DisplayAlerts = False
 Set appAccess = GetObject(K:\Folder\Database.mdb)

 Thanks in advance for your help.

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ vlookup madness

2013-04-09 Thread Sam Mathai Chacko
If you want to look for exact matches, you must use =VLOOKUP(Lookup_Value,
ArrayRangeToLookAt, Column_Index, Whether Approximate Match Or Not)
So try =VLOOKUP(A1,$E$1:$F$17,2,FALSE)

Regards
Sam Mathai Chacko



On Wed, Apr 10, 2013 at 5:51 AM, alanthomas...@gmail.com wrote:

 I am really confused about the behavior of my VLOOKUP functions in Column
 2 of the attached spreadsheet.  The function is simply
 =VLOOKUP(A1,$E$1:$F$17,2).  This is giving me wrong (undefined, or wrong
 number) results for some of what I`m looking up.  I have not found the
 cause or a way around the problem.

 Is Excel getting confused because I have this involves some numbers and
 some letters?


  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Is there a way to exclude PERSONAL.xls workbook from list of active workbooks in macro?

2013-04-07 Thread Sam Mathai Chacko
If your static workbook is opened from the code, then you probably are
keeping the 'dynamic' workbook open first. So it would be best to replace
your underlined code above with *Set wb = ActiveWorkbook*

Regards,
Sam Mathai Chacko


On Sun, Apr 7, 2013 at 7:28 AM, LJGIT lgem...@earthlink.net wrote:



 I need to switch between two workbooks several times to copy/paste data.
  One workbook is static (SHS form.xls) and can be explicitly named in macro
 but the other is dynamic so need to use variable.  Macro is stored in
 PERSONAL.xls and is launched from the dynamic workbook.  Macro opens SHS
 form.xls and switches back and forth between the workbooks but does not
 work consistently, sometimes the data is incomplete due to the macro
 selecting the incorrect workbook.  The beginning of macro is below, found
 the underlined code and added to macro but still doesn't work right.  Is
 there any way to exclude PERSONAL.xls from workbook list or to save the
 name of the dynamic workbook in a variable?  Have been struggling with this
 for several hours, thank you in advance for any assistance.

 *Dim wb As Workbook, x As String*

 *For Each wb In Workbooks*
 *If (wb.Name  Personal.xls) Then x = wb.Name*
 *Next wb*
 *Workbooks(x).Activate*
 ChDir C:\Documents and Settings\shs\Desktop\database file
 location\11.017.4
 Workbooks.Open Filename:=C:\Documents and
 Settings\shs\Desktop\database file location\11.017.4\SHS form.xls, _
 UpdateLinks:=3
 Workbooks(x).Activate
 Range(A10).Select
 Selection.Copy
 Windows(SHS form.xls).Activate
 Range(H7).Select
 ActiveSheet.Paste
 Workbooks(x).Activate
 Range(D10).Select
 Application.CutCopyMode = False
 Selection.Copy
 Windows(SHS form.xls).Activate
 Range(H6).Select
 ActiveSheet.Paste

 ...

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Previous sheet name using formula

2013-03-29 Thread Sam Mathai Chacko
Your solution isn't what the OP was looking for. He wanted to know the name
of *THE* sheet to the left, using formula.

I don't understand the wisdom in posting something that isn't asked for, on
top of what I already posted, which was relevant to the question.

Sam




On Thu, Mar 28, 2013 at 10:37 PM, xlstime xlst...@gmail.com wrote:

 Hi Sundarvelan,

 as required, please find attached

 we are using GET.WORKBOOK function.. for more information about
 GEt.Workbook please find below the lik


 http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macexcel/getworkbook-help-in-macro-language-in-excel-2011/a359708d-b5b7-48ba-8d1e-c4114d4642d2


 .

 Enjoy
 Team XLS



 On Thu, Mar 28, 2013 at 8:53 AM, Sundarvelan N nsund...@gmail.com wrote:

 Thanks Paul and My Dear Friends.

 My question was to get sheet name which is left of my current sheet by
 formula.


 Any how i found solution completed my project by other way.
  Thanks
 N.Sundarvelan
 9600160150


 On Wed, Mar 27, 2013 at 9:49 PM, Sam Mathai Chacko samde...@gmail.comwrote:

   You could also use the MID function instead of REPLACE

 example

 =MID(CELL(filename),FIND(],CELL(filename))+1,31)

 Note that the second formula in my previous post requires enabling your
 macro settings. So I am not sure how much that is helpful in the end
 (assuming the reason you wanted to do it using formula was to avoid having
 to do anything to do with macro in the first place)

 Regards,
 Sam


 On Wed, Mar 27, 2013 at 9:44 PM, Sam Mathai Chacko 
 samde...@gmail.comwrote:

 I would agree with Paul. The best thing to do is to write a
 function like this

 Function PREVSHEETNAME() As String

 On Error Resume Next
 PREVSHEETNAME = 
 ActiveSheet.Previous.Namehttp://activesheet.previous.name/
 Application.Volatile

 End Function

 On the contrary, if you are still intent on doing this with formula,
 you could try a rather unconventional method using XLM formulas

 Create two named ranges as below

 SheetName =REPLACE(CELL(filename),1,FIND(],CELL(filename)),)

 SheetNames = REPLACE(GET.WORKBOOK(1),1,FIND(],GET.WORKBOOK(1)),)

 And in your sheet (starting from the second sheet of course), use the
 formula =INDEX(SheetNames,MATCH(SheetName,SheetNames,0)-1)

 Regards,

 Sam Mathai Chacko


 On Wed, Mar 27, 2013 at 7:01 PM, Paul Schreiner schreiner_p...@att.net
  wrote:

   How do you define Previous Sheet Name?
 Do you mean the name of the sheet before it was changed to the current
 name?
 or do you mean the name of the sheet immediately to the left of the
 selected sheet?

 Also, you said using formula, does that mean you wish for an excel
 function that will show (in a cell) whatever it is you refer to as
 Previous Sheet Name?

 If you're wanting the name of the sheet immediately to the left,
 I doubt very much that we can do it using standard Excel functions.
 We can create a function that looks in the Sheets() array for the
 current sheet name,
 then determines the name of the sheet with the previous array
 index...



 *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:* Sundarvelan N nsund...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Wed, March 27, 2013 9:12:14 AM
 *Subject:* $$Excel-Macros$$ Previous sheet name using formula

 Dear Friends,

 Please help me to get the previous sheet name using formula
  Thanks
 N.Sundarvelan
 9600160150

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.



 --
 Are you =EXP(E:RT) or =NOT(EXP

Re: $$Excel-Macros$$ Previous sheet name using formula

2013-03-28 Thread Sam Mathai Chacko
All that artillery for nothing? Might be good to share this 'other' way.


On Thu, Mar 28, 2013 at 8:53 AM, Sundarvelan N nsund...@gmail.com wrote:

 Thanks Paul and My Dear Friends.

 My question was to get sheet name which is left of my current sheet by
 formula.


 Any how i found solution completed my project by other way.
  Thanks
 N.Sundarvelan
 9600160150


 On Wed, Mar 27, 2013 at 9:49 PM, Sam Mathai Chacko samde...@gmail.comwrote:

   You could also use the MID function instead of REPLACE

 example

 =MID(CELL(filename),FIND(],CELL(filename))+1,31)

 Note that the second formula in my previous post requires enabling your
 macro settings. So I am not sure how much that is helpful in the end
 (assuming the reason you wanted to do it using formula was to avoid having
 to do anything to do with macro in the first place)

 Regards,
 Sam


 On Wed, Mar 27, 2013 at 9:44 PM, Sam Mathai Chacko samde...@gmail.comwrote:

 I would agree with Paul. The best thing to do is to write a
 function like this

 Function PREVSHEETNAME() As String

 On Error Resume Next
 PREVSHEETNAME = 
 ActiveSheet.Previous.Namehttp://activesheet.previous.name/
 Application.Volatile

 End Function

 On the contrary, if you are still intent on doing this with formula, you
 could try a rather unconventional method using XLM formulas

 Create two named ranges as below

 SheetName =REPLACE(CELL(filename),1,FIND(],CELL(filename)),)

 SheetNames = REPLACE(GET.WORKBOOK(1),1,FIND(],GET.WORKBOOK(1)),)

 And in your sheet (starting from the second sheet of course), use the
 formula =INDEX(SheetNames,MATCH(SheetName,SheetNames,0)-1)

 Regards,

 Sam Mathai Chacko


 On Wed, Mar 27, 2013 at 7:01 PM, Paul Schreiner 
 schreiner_p...@att.netwrote:

   How do you define Previous Sheet Name?
 Do you mean the name of the sheet before it was changed to the current
 name?
 or do you mean the name of the sheet immediately to the left of the
 selected sheet?

 Also, you said using formula, does that mean you wish for an excel
 function that will show (in a cell) whatever it is you refer to as
 Previous Sheet Name?

 If you're wanting the name of the sheet immediately to the left,
 I doubt very much that we can do it using standard Excel functions.
 We can create a function that looks in the Sheets() array for the
 current sheet name,
 then determines the name of the sheet with the previous array index...



 *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:* Sundarvelan N nsund...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Wed, March 27, 2013 9:12:14 AM
 *Subject:* $$Excel-Macros$$ Previous sheet name using formula

 Dear Friends,

 Please help me to get the previous sheet name using formula
  Thanks
 N.Sundarvelan
 9600160150

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send
 an email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be?
 It’s =TIME(2,DO:IT,N:OW) ! 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

Re: $$Excel-Macros$$ Previous sheet name using formula

2013-03-27 Thread Sam Mathai Chacko
I would agree with Paul. The best thing to do is to write a function like
this

Function PREVSHEETNAME() As String

On Error Resume Next
PREVSHEETNAME = ActiveSheet.Previous.Name
Application.Volatile

End Function

On the contrary, if you are still intent on doing this with formula, you
could try a rather unconventional method using XLM formulas

Create two named ranges as below

SheetName =REPLACE(CELL(filename),1,FIND(],CELL(filename)),)

SheetNames = REPLACE(GET.WORKBOOK(1),1,FIND(],GET.WORKBOOK(1)),)

And in your sheet (starting from the second sheet of course), use the
formula =INDEX(SheetNames,MATCH(SheetName,SheetNames,0)-1)

Regards,

Sam Mathai Chacko


On Wed, Mar 27, 2013 at 7:01 PM, Paul Schreiner schreiner_p...@att.netwrote:

 How do you define Previous Sheet Name?
 Do you mean the name of the sheet before it was changed to the current
 name?
 or do you mean the name of the sheet immediately to the left of the
 selected sheet?

 Also, you said using formula, does that mean you wish for an excel
 function that will show (in a cell) whatever it is you refer to as
 Previous Sheet Name?

 If you're wanting the name of the sheet immediately to the left,
 I doubt very much that we can do it using standard Excel functions.
 We can create a function that looks in the Sheets() array for the current
 sheet name,
 then determines the name of the sheet with the previous array index...



 *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:* Sundarvelan N nsund...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Wed, March 27, 2013 9:12:14 AM
 *Subject:* $$Excel-Macros$$ Previous sheet name using formula

 Dear Friends,

 Please help me to get the previous sheet name using formula
  Thanks
 N.Sundarvelan
 9600160150

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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

Re: $$Excel-Macros$$ Previous sheet name using formula

2013-03-27 Thread Sam Mathai Chacko
You could also use the MID function instead of REPLACE

example

=MID(CELL(filename),FIND(],CELL(filename))+1,31)

Note that the second formula in my previous post requires enabling your
macro settings. So I am not sure how much that is helpful in the end
(assuming the reason you wanted to do it using formula was to avoid having
to do anything to do with macro in the first place)

Regards,
Sam


On Wed, Mar 27, 2013 at 9:44 PM, Sam Mathai Chacko samde...@gmail.comwrote:

 I would agree with Paul. The best thing to do is to write a function like
 this

 Function PREVSHEETNAME() As String

 On Error Resume Next
 PREVSHEETNAME = ActiveSheet.Previous.Name
 Application.Volatile

 End Function

 On the contrary, if you are still intent on doing this with formula, you
 could try a rather unconventional method using XLM formulas

 Create two named ranges as below

 SheetName =REPLACE(CELL(filename),1,FIND(],CELL(filename)),)

 SheetNames = REPLACE(GET.WORKBOOK(1),1,FIND(],GET.WORKBOOK(1)),)

 And in your sheet (starting from the second sheet of course), use the
 formula =INDEX(SheetNames,MATCH(SheetName,SheetNames,0)-1)

 Regards,

 Sam Mathai Chacko


 On Wed, Mar 27, 2013 at 7:01 PM, Paul Schreiner schreiner_p...@att.netwrote:

  How do you define Previous Sheet Name?
 Do you mean the name of the sheet before it was changed to the current
 name?
 or do you mean the name of the sheet immediately to the left of the
 selected sheet?

 Also, you said using formula, does that mean you wish for an excel
 function that will show (in a cell) whatever it is you refer to as
 Previous Sheet Name?

 If you're wanting the name of the sheet immediately to the left,
 I doubt very much that we can do it using standard Excel functions.
 We can create a function that looks in the Sheets() array for the current
 sheet name,
 then determines the name of the sheet with the previous array index...



 *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:* Sundarvelan N nsund...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Wed, March 27, 2013 9:12:14 AM
 *Subject:* $$Excel-Macros$$ Previous sheet name using formula

 Dear Friends,

 Please help me to get the previous sheet name using formula
  Thanks
 N.Sundarvelan
 9600160150

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros

Re: $$Excel-Macros$$ Help with Deciphering an Excel Formula

2013-03-20 Thread Sam Mathai Chacko
Here's an explanation to a similar but not exactly same formula. I'm sure
you can decipher your equation once you go through the link below.

http://www.excelfox.com/forum/f13/extract-number-alphanumeric-text-186/

Regards,
Sam Mathai Chacko


On Wed, Mar 20, 2013 at 8:15 PM, Chris christoph...@gmail.com wrote:

 Hi Everybody,

 I thought I had somewhat advanced Excel skills but then the following made
 me feel like I'm back in the beginners' group: Usually people ask here how
 to achieve something in Excel or VBA. I actually have the answer but I
 would like to understand it. This morning, I needed a quick way to scrap
 all non-numeric characters out of the contents of a cell. I wrote a quick
 VBA function that did the job. Then I started to get curious if Excel
 offers any worksheet function that would have done this job for me. I
 learned that this doesn't exist but that the following (data cell is A1 and
 you'd paste this into B2)


 =IF(A1=,,SUMPRODUCT(MID(0A1,LARGE(INDEX(ISNUMBER(--MID(A1,ROW($1:$25),1))*ROW($1:$25),0),ROW($1:$25))+1,1)*10^ROW($1:$25)/10))

 does exactly what I'm trying to do. Granted, it's a bit more complex than
 a VBA macro but I'd still like to understand exactly what this line above
 does. I tried to decipher it but didn't have much success. Can anybody
 enlighten me? Maybe step by step?

 Thanks in advance. Appreciate all your help I get on this board.
 Christoph

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Mass Emails sending excel macros file

2013-03-17 Thread Sam Mathai Chacko
A google search gives a lot of options that you can make use of

https://www.google.co.in/search?q=sending+multiple+emails+from+outlook+with+attachment+using+vba

Regards,
Sam


On Sun, Mar 17, 2013 at 12:22 PM, crazybond crazybond...@gmail.com wrote:

 Dear Experts,

 I am looking for excel database/ macros file to be able to send out mass
 emails to individuals with the data / attachment pertaining only to them. I
 am attaching a sample workbook with the possible options of how this should
 work according to me / my understanding (please feel free to make changes /
 modifications as to how this can be done and will work accordingly basis of
 your experience/ expertise).

 Hence request your kind assistance here in helping creating such a file.
 (I am not sure if such kind of worksheet or file is available)

 P.S : this can be used using outlook/ excel 2003 or higher version of
 outlook/excel.


 Many thanks, looking forward towards your kind support.

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Support -

2013-03-13 Thread Sam Mathai Chacko
Why don't you just create a shortcut pointing to your file?


On Wed, Mar 13, 2013 at 7:34 PM, jayendra gaurav
jayendra.gau...@gmail.comwrote:

 Dear All,

 I need to open one exel file frequently .I require one icon on my tool bar
 where if I clicked then my file need to open.

 this feature was available in exel 2003.

 kindly support me.

 --
 J.Gaurav
 Call-7838594954

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ CLEAR CONTENTS of cells with value 0

2013-03-05 Thread Sam Mathai Chacko
Why don't you use the option

'Show zero in cells that have zero value', in the advanced tab of Excel
options (Excel 2007)

Sam Mathai Chacko


On Tue, Mar 5, 2013 at 9:48 PM, Somnath Khadilkar khadilka...@gmail.comwrote:

 Dear Sir,
I have ANY excel sheet ,some cells have value ZERO [ numeric 0 ]. I
 would like to BLANK or DELETE the numeric 0 , [Other cells may contain
 any ALPHA-NUMERIC values. ] Pl Help.

 =mangal ho

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.





-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Excel VBA to retrieve from MSAccess or Sharepoint

2013-03-04 Thread Sam Mathai Chacko
This has most of it

http://www.excelfox.com/forum/f13/execute-sql-excel-vba-66/

Regards,
Sam


On Mon, Mar 4, 2013 at 11:50 PM, Paul Schreiner schreiner_p...@att.netwrote:

 I may regret asking this, but here goes:

 Using Office 2010:

 I have Excel templates that are used to create documents and store the
 data in an Oracle database.
 The Oracle database has data from released and archived or
 historical documents.

 These documents are saved as PDF's and stored on a Sharepoint site.

 I use Excel to generate multiple reports from various data sources (mostly
 Oracle databases).

 I'd like to use Excel VBA to retrieve a list of released documents from
 a specific table in Sharepoint.

 I'll then retrieve the Oracle data for the Release documents.

 Now, I've been told that I can link an Access table to the Sharepoint
 table, then use Excel VBA to query the Access table.

 I have successfully created an Access Database that is linked to the
 Sharepoint site.

 I've Googled my fingers off and read hundreds of lines in posts and have
 yet to find a WORKING example of using Excel VBA to query the AccessDB.

 (no, I DON'T want to use Excel and create an external data source, I'd
 like to use VBA and issue an SQL query against the database)

 It seems more efficient to connect to the Sharepoint table directly from
 Excel VBA instead of going through MSAccess.

 So.. my question:
 Does anyone have a working example of connecting to, and querying an
 Access Database using Excel VBA?

 Or...
 Does anyone have a working example of connecting to and querying a
 Sharepoint site/table using Excel VBA?

 thank you,
 Paul


 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Match a Word in a cell using Macros

2013-02-07 Thread Sam Mathai Chacko
This only finds the first character. That's not what is needed. The
function needs to check the availability of any of the nth word in the
sentence. So in the example, ANNA GRATTON LTD should have returned GRATTON.
Your formula only looks up the first word.




On Thu, Feb 7, 2013 at 7:18 PM, vijayajith VA vijayajith...@gmail.comwrote:

 HI Santhuash,



 =IFERROR(IF(FIND( ,A2)-1  1,VLOOKUP(LEFT(A2,FIND(
 ,A2)-1)*,Database!A:A,1,0),),)

 Try this. hope it helps you, Thanks

 On Wed, Feb 6, 2013 at 7:39 PM, Santhosh Kumar M K mks@gmail.comwrote:

 Hi Friends,

 Need a help to create macro in a Data tab where it can recongnize a
 word either by first/middle/last name if not with full name.

 for ex - SHANGHAI ERICSSON SIMTEK  in Database tab should help to
 match the data even by recognizing any one word of this full name from
 Data tab and incase if it matches then it should reflect in column B of
 Data tab

 Please find attachment.

 Regards,
 Santhosh

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.




  --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Match a Word in a cell using Macros

2013-02-06 Thread Sam Mathai Chacko
Use this function

Function WLOOKUP(strText As String, rng As Range) As String

Dim lng As Long, lngI As Long
On Error Resume Next
For lng = LBound(Split(strText,  )) To UBound(Split(strText,  ))
lngI = Application.Match(Split(strText,  )(lng), rng, 0)
If lngI  0 Then
WLOOKUP = rng.Cells(lngI)
Exit Function
End If
Next lng

End Function

Regards,

Sam Mathai Chacko


On Wed, Feb 6, 2013 at 7:39 PM, Santhosh Kumar M K mks@gmail.comwrote:

 Hi Friends,

 Need a help to create macro in a Data tab where it can recongnize a word
 either by first/middle/last name if not with full name.

 for ex - SHANGHAI ERICSSON SIMTEK  in Database tab should help to
 match the data even by recognizing any one word of this full name from
 Data tab and incase if it matches then it should reflect in column B of
 Data tab

 Please find attachment.

 Regards,
 Santhosh

 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: $$Excel-Macros$$ Prince Kumar - Most Helpful Member Jan'13

2013-02-01 Thread Sam Mathai Chacko
Excellent work again Prince. Keep up the great work.


On Sat, Feb 2, 2013 at 12:29 PM, resp...@gmail.com wrote:

 **
 Bravo again ♍Ɣ friend well done and thanks for your massive and valuable
 support.
 Sent from my BlackBerry® smartphone from Airtel Ghana
 --
 *From: * Ayush Jain jainayus...@gmail.com
 *Sender: * excel-macros@googlegroups.com
 *Date: *Sat, 2 Feb 2013 11:49:07 +0530
 *To: *excel-macrosexcel-macros@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Cc: *prince141...@gmail.com
 *Subject: *$$Excel-Macros$$ Prince Kumar - Most Helpful Member Jan'13


 Dear members,

 Prince Kumar has been selected as 'Most Helpful Member' for the month of
 Jan'13. He has posted 103 posts last month and helped forum members through
 his excel expertise.
 I truly appreciate his technical knowledge, consistency and commitment to
 the group. He has been consistently contributing in the forum since last 7
 months and has been recognized most helpful member consecutively.

 *Prince, please find enclosed the award certificate in honor of your
 contribution. Congratulations and thanks for your commitment.
 We are honored to have you in this forum.
 *

 Thanks everyone 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

 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.



 --
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
 =TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an
 email to excel-macros+unsubscr...@googlegroups.com.
 To post to this group, send email to excel-macros@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! 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 unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr

Re: $$Excel-Macros$$ excel Application with a userdefined ribbon built in using xml Error

2012-11-14 Thread Sam Mathai Chacko
Divaker, can you post this file?

Regards,
Sam Mathai Chacko


On Wed, Nov 14, 2012 at 2:57 PM, Divaker Pandey divake...@gmail.com wrote:

 Hello Exprets,

 I am struggling with the following strange problem in MS Excel 2007
 (rarely occurs).

 I have an excel Application with a userdefined ribbon built in using xml.

 Suddenly, during loading application i get an error message.

 = The message box that appears has no words, number or any other
 information on it. It is a totally blank VBA message box with the
 'vbCritical' icon on it (red circle with the white X in it) with 'OK' and
 'Help' buttons.

 I click on the 'OK' button and the loading continues, everything is
 loading correctly.



 it was working prior fine , but when i added a call on  the
 onLoad=RibbonOnLoad in the customUI.XML, then this problem arised.

 while the same application is file in excel 2010 version.



 Please Suggest what should i do. i need to call RibbononLoad , it could
 not be ingored.


 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.






-- 
Sam Mathai Chacko

-- 
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$$ How to delete alternate sheets faster

2012-11-01 Thread Sam Mathai Chacko
...@googlegroups.com.
 Visit this group at http://groups.google.com/group/excel-macros?hl=en.






 --
 With Regards,
 Noorain Ansari
 http:// 
 http://www.noorainansari.com/noorainansari.comhttp://www.noorainansari.com/
 http:// 
 http://www.excelvbaclinic.blogspot.com/excelvbaclinic.comhttp://www.excelvbaclinic.blogspot.com/http://accesssqclinic.blogspot.in/


 --
 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.






 --
 Ahmed Bawazir
 *احمد باوزير*

  --
 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.






-- 
Sam Mathai Chacko

-- 
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

Re: $$Excel-Macros$$ excel macros for pasting to selected range

2012-10-31 Thread Sam Mathai Chacko
Is this what you wanted??

Sub CopyToRows()

Dim strRange As String
strRange = Selection.EntireRow.Address(0, 0)
Range(strRange).Value = Range(2:2).Value

End Sub

Regards,
Sam Mathai Chacko


On Thu, Nov 1, 2012 at 12:50 AM, key log target...@gmail.com wrote:

 Hi all,

 This is a very easy macro but since I just started learning about VBA I'm
 having a hard time making something that works. What I want to do is have a
 macros button that will paste a specific row to a selected field. So, I
 want the user to select whatever rows they want, say rows 99-101 and then
 click the macro button which will paste whatever is on ROW 2 to the
 selected rows, which is a bunch of drop down menus.

 Any help is greatly appreciated.

 --
 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.






-- 
Sam Mathai Chacko

-- 
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$$ Google Map and Excel Integration Using VBA

2012-10-19 Thread Sam Mathai Chacko
This is very good Ashish. Thanks for sharing.

Regards,
Sam

On Fri, Oct 19, 2012 at 7:20 PM, ashish koul koul.ash...@gmail.com wrote:

 Hi All,

 If you want to get latitude and longitude of any address   or you want to
 find the distance between two cities , etc using Google Map. Please find
 below links of macros which will automatically fetch or get data from
 Google  Maps using VBA


 Find Distance and Time between two cities using Google API In excel

 http://excelvbaprogramming.wordpress.com/2012/09/24/find-distance-and-time-between-two-cities-using-google-api-in-excel/


 Display Google Map in Excel using VBA and Google API

 http://excelvbaprogramming.wordpress.com/2012/09/24/display-google-map-in-excel-using-vba-and-google-api/


 Plot locations on Google map using VBA and Import updated map to Excel

 http://excelvbaprogramming.wordpress.com/2012/09/26/plot-locations-on-google-map-using-vba-and-import-updated-map-to-excel/


 Plot Origin and destination city on Google Map and import Map to Excel

 http://excelvbaprogramming.wordpress.com/2012/09/27/plot-origin-and-destination-city-on-google-map-and-import-map-to-excel/

 Google Translation Using VBA

 http://excelvbaprogramming.wordpress.com/2012/09/29/google-translation-using-vba/

 Find Latitude and Longitude of any address using Google Map API and VBA

 http://excelvbaprogramming.wordpress.com/2012/10/18/find-latitude-and-longitude-of-any-address-using-google-map-api-and-vba/

 --
 *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-macros@googlegroups.com.
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ Re: Excel table Copy Paste in word (with formatting) *

2012-10-19 Thread Sam Mathai Chacko
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ For Indian Accountants Taxation professional. Check ISPANVALID

2012-10-17 Thread Sam Mathai Chacko
Similar Thread here too

On Wed, Oct 17, 2012 at 7:24 PM, Vabz v...@vabs.in wrote:

 Hi
 I have created a function to find our invali PAN.

 This Function Highlights invalid character with Red Font  Also mentions
 error.

 Please refer attachment for details.

 Pl share your comments.

 Cheers..

 Rgds//Vabs

 --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ For Indian Accountants Taxation professional. Check ISPANVALID

2012-10-17 Thread Sam Mathai Chacko
http://www.excelfox.com/forum/f13/validating-pan-indian-format-409/

On Wed, Oct 17, 2012 at 8:39 PM, Sam Mathai Chacko samde...@gmail.comwrote:

 Similar Thread here too


 On Wed, Oct 17, 2012 at 7:24 PM, Vabz v...@vabs.in wrote:

 Hi
 I have created a function to find our invali PAN.

 This Function Highlights invalid character with Red Font  Also mentions
 error.

 Please refer attachment for details.

 Pl share your comments.

 Cheers..

 Rgds//Vabs

 --
 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.






 --
 Sam Mathai Chacko




-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ Is it possible to Open a Particular Website and Login to it using VBA???

2012-10-08 Thread Sam Mathai Chacko
This is a link by Lalit Mohan, one of the members of this forum

http://powerofexcel.wordpress.com/2012/09/12/google-login-automation-through-excel-vba/

Regards,

Sam Mathai Chacko

On Mon, Oct 8, 2012 at 11:05 PM, sreekanth m
sreekanthm.namb...@gmail.comwrote:

 Hello Friends,

 Can anyone help me to Open Gmail URL and Loging to it by Entering the
 credentials using VBA

 PFA, the screenshot for your reference,

 *I need to Enter UserName, Password and Stay Signed In should be checked.
 Then Click on Sign In and it should get navigated to GMail Account.*

 Please Help Me... Bunch of thanks in Advance.!

 --
 ThanksRegards,
 *Sreekanth M
 *Mobile:8095220421

  --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ Rajan Verma - Most Helpful Member September 2012

2012-10-02 Thread Sam Mathai Chacko
Congratulations Rajan

Regards,
Sam

On Tue, Oct 2, 2012 at 9:03 PM, Ayush Jain jainayus...@gmail.com wrote:

 Dear members,

 Rajan Verma has been selected as 'Most Helpful Member' for the month of
 Sep'12. He has posted 137 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 Vabz, Don, Paul, Prince, Noorain, Kuldeep, David 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-macros@googlegroups.com.
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ Excel Conditional Formatting formula

2012-09-29 Thread Sam Mathai Chacko
http://www.excelfox.com/forum/f2/conditional-format-based-percentage-variance-585/

Regards,
Sam Mathai Chacko

On Sat, Sep 29, 2012 at 7:35 PM, vinod rao vinod.ma...@gmail.com wrote:

 Hi,

 I want to know how to do a conditional formatting on numbers based on the
 calculated percentage %
 Please see attached file. Help me as quick as possible.

 Thanks
 Vin


 --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ Excel Conditional Formatting formula

2012-09-29 Thread Sam Mathai Chacko
=(I3-J3)/J30 (RED)
=AND((I3-J3)/J3=0,(I3-J3)/J3=2%) (YELLOW)
=(I3-J3)/J35% (GREEN)

Find attachment also

Regards,
Sam Mathai CHacko

On Sat, Sep 29, 2012 at 8:39 PM, vinod rao vinod.ma...@gmail.com wrote:


 Any suggestions?


 I need conditional formating Yellow when the delta is 0% +2%

 Thanks,
 Vin
 On Sat, Sep 29, 2012 at 7:53 PM, vinod rao vinod.ma...@gmail.com wrote:

 Hi Sam,

 But i am unable to put 0% to 2% to yellow.
  On Sat, Sep 29, 2012 at 7:35 PM, vinod rao vinod.ma...@gmail.comwrote:

 Hi,

 I want to know how to do a conditional formatting on numbers based on
 the calculated percentage %
 Please see attached file. Help me as quick as possible.

 Thanks
 Vin


 --
 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.





  --
 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.






-- 
Sam Mathai Chacko

-- 
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.




conditional Fotmating.xls
Description: MS-Excel spreadsheet


Re: $$Excel-Macros$$ circular x axis in excel graph

2012-09-25 Thread Sam Mathai Chacko
maybe you can draw a sample in paint and post it so that people understand
what exactly you are looking for in the chart.

On Wed, Sep 26, 2012 at 1:06 AM, Christi Jacob christi.ja...@gmail.comwrote:

 Dear friends,
 this is my first query to this group
 i am having a data which may be as follows
 anglestrength
 0  10
 45 20
 90 30
 13520
 1800
 22520
 27030
 31520
 36010

 the values under heading angle are in degrees
 i would like to plot them in a graph such that the independent axis shows
 up on a circle as angular location and strength value shows up as radial
 lines

 Please guide

 regards,
 christi jacob


 --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ OFF TOPIC: Please suggest a similar active group for MS WORD Macros?

2012-09-24 Thread Sam Mathai Chacko
http://www.excelfox.com/forum/f5/

Sam Mathai Chacko

On Mon, Sep 24, 2012 at 10:30 PM, V S Rawat g vsra...@gmail.com wrote:

 Sorry for OFF TOPIC post.

 Please suggest to me a similar active group for MS WORD Macros issues that
 I have to ask?

 Thanks.
 --
 Rawat

 --
 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-macros@googlegroups.com.
 To unsubscribe from this group, send email to excel-macros+unsubscribe@**
 googlegroups.com excel-macros%2bunsubscr...@googlegroups.com.





-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ OFF TOPIC: Please suggest a similar active group for MS WORD Macros?

2012-09-24 Thread Sam Mathai Chacko
Yeah, when you go to a particular forum in the site, like Word Help, on the
top of the table, you'll find Forum Tools  Subscribe to this Forum

Regards,
Sam Mathai Chacko

On Tue, Sep 25, 2012 at 1:09 AM, V S Rawat g vsra...@gmail.com wrote:

 On 9/24/2012 11:09 PM India Time, _Sam Mathai Chacko_ wrote:

  http://www.excelfox.com/forum/**f5/ http://www.excelfox.com/forum/f5/


 Joined. Thanks.

 Any mailing list for that, just like this one is for excel?


 Sam Mathai Chacko


 --
 Rawat


 On Mon, Sep 24, 2012 at 10:30 PM, V S Rawat g vsra...@gmail.com
 mailto:vsra...@gmail.com wrote:

 Sorry for OFF TOPIC post.

 Please suggest to me a similar active group for MS WORD Macros
 issues that I have to ask?

 Thanks.
 --
 Rawat


 --
 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-macros@googlegroups.com.
 To unsubscribe from this group, send email to excel-macros+unsubscribe@**
 googlegroups.com excel-macros%2bunsubscr...@googlegroups.com.





-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ Re: Excel Formula challenge

2012-09-16 Thread Sam Mathai Chacko
Another way

Function MYFUNC(str As String)

Dim strg
With CreateObject(Scripting.Dictionary)
.CompareMode = 1
If str   Then
For Each strg In Split(str, |)
.Item(Trim$(strg)) = Empty
Next
End If
MYFUNC = Join(.keys, |)
End With

End Function

Regards,
Sam Mathai Chacko

On Sun, Sep 16, 2012 at 7:40 PM, dguillett1 dguille...@gmail.com wrote:

   Put this function in a REGULAR module. Then =myfunc(a1)

 Function myfunc(xx)
   Dim nodupes As New Collection
   arr = Split(xx, |)
   For i = LBound(arr) To UBound(arr)
 On Error Resume Next
 nodupes.Add arr(i), arr(i)
 On Error GoTo 0
   Next i
   For i = 1 To nodupes.Count
 holder = holder  nodupes(i)  |
   Next i
   myfunc = Left(holder, Len(holder) - 1)
 End Function

 Don Guillett
 Microsoft Excel Developer
 SalesAid Software
 dguille...@gmail.com

  *From:* in.vaib...@gmail.com
 *Sent:* Saturday, September 15, 2012 12:19 PM
 *To:* excel-macros@googlegroups.com
 *Subject:* Re: $$Excel-Macros$$ Re: Excel Formula challenge

 It workz for the given case but if more txt is der den formula wil run for
 milez :p

 I'm figuring formula dat wl work for all cases.


 Rgds
 --
 *From: *Rajan_Verma rajanverma1...@gmail.com
 *Sender: *excel-macros@googlegroups.com
 *Date: *Sat, 15 Sep 2012 22:38:16 +0530
 *To: *excel-macros@googlegroups.com
 *ReplyTo: *excel-macros@googlegroups.com
 *Subject: *RE: $$Excel-Macros$$ Re: Excel Formula challenge


 *Nicely done*

 **

 **

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 **

 *From:* excel-macros@googlegroups.com [mailto:
 excel-macros@googlegroups.com] *On Behalf Of *Vabz
 *Sent:* 15 September 2012 10:04
 *To:* excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ Re: Excel Formula challenge

 

 Hi

  

 PFA

  

 Cheerz..

  

 Rgds//Vabs

  


 On Wednesday, August 8, 2012 9:33:25 PM UTC+5:30, Rajan_Verma wrote:

  * *

 *Hi group,*

 * *

 *Hope you will post an excellent solution here :*

 *Let suppose you have a string like below :*

 *A|A|A|B|B|C|A|B|C|D*

 *As you can see the characters are being repeat in this string *

 *output should be : A|B|C|D*

 *I don’t think helper column is required **J*

 * *

 *You can comment here also*

 *http://excelpoweruser.wordpress.com/2012/08/08/excel-formula-challenge/**
 ***

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

  

 --
 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.

  
 --
 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.


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

 FORUM

Re: $$Excel-Macros$$ Plant Operating Days in Each Year

2012-09-16 Thread Sam Mathai Chacko
D10=MAX(0,MIN(D$8,$C2)-MAX($B2,D$7)+1)

And drag down and across

Regards,
Sam Mathai Chacko

On Sun, Sep 16, 2012 at 9:07 PM, sharad jain jainshar...@gmail.com wrote:

 Dear Experts,

 Please help me in calculating operating days in the attached sheet.

 There are 2 contracts which will run after one after other. These start
 and end at particular days. There is gap of some days between start of 2nd
 contract and end of 1st contract. I need to calculate that for how many
 days plant has run for a particular contract?

 Would prefer answers without macros.

 Regards,
 Sharad

 --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ Count multiple criteria in a column with the help of VBA

2012-09-12 Thread Sam Mathai Chacko
Or another alternative

=SUMPRODUCT((Sheet1!$A$2:$A$2270=A2)*((Sheet1!$B$2:$B$2270=12)+(Sheet1!$B$2:$B$2270=13)))

Sub cnt()
Dim rng As Range
Dim rng1 As Range
Dim i As Integer
Set rng = Sheet1.Range(A2:A  Sheet1.Range(A 
Rows.Count).End(xlUp).Row)
Set rng1 = Sheet1.Range(B2:B  Sheet1.Range(B 
Rows.Count).End(xlUp).Row)
For i = 2 To Sheet2.Range(A  Rows.Count).End(xlUp).Row
Sheet2.Cells(i, 2).Value = Evaluate(=SUMPRODUCT((  rng.Address(, , ,
True)  =A  i  )*((  rng1.Address(, , , True)  =12)+( 
rng1.Address(, , , True)  =13
Next
End Sub

Regards,
Sam Mathai CHacko

On Thu, Sep 13, 2012 at 12:15 AM, Paul Schreiner schreiner_p...@att.netwrote:

 I believe that the problem is that, when you enter the formula in the
 Workbook,
 you're entering it as an ARRAY formula, where it matches the value in
 Column A
 and column B is EITHER 12 or 13 ({12,13})

 But in your VBA, you're only counting a match of 12:

 Sheet2.Cells(i, 2) = WorksheetFunction.CountIfs(rng, Cells(i, 1), rng1,
 12)

 I don't believe that the VBA WorksheetFunction is going to allow you to
 enter an array function.
 I think you're going to have to add them like:

 Sheet2.Cells(i, 2) = WorksheetFunction.CountIfs(rng, Cells(i, 1), rng1,
 12) _
+ WorksheetFunction.CountIfs(rng, Cells(i, 1),
 rng1, 13)

 I changed the VBA and result matches column C.


 *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:* jeet singh jeetexcelt...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Wed, September 12, 2012 2:32:12 PM
 *Subject:* $$Excel-Macros$$ Count multiple criteria in a column with the
 help of VBA

 Dear all,

 I want to count multiple criteria in a column. I have done this query in
 excel, Formula have given below.

 =SUM(COUNTIFS(Sheet1!C:C,Sheet2!A2,Sheet1!E:E,{12,13}))

 Regards


 --
 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.



 --
 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.






-- 
Sam Mathai Chacko

-- 
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

Re: $$Excel-Macros$$ Creating Custom Ribbon

2012-09-11 Thread Sam Mathai Chacko
The threads in this link talk a lot about Ribbon development in very simple
steps

http://www.excelfox.com/forum/f10/

Regards,
Sam Mathai Chacko

On Tue, Sep 11, 2012 at 10:50 PM, koul.ash...@gmail.com wrote:

 **
 Visit

 www.rondebruin.nl/ribbon.htm

 Sent on my BlackBerry® from Vodafone
 --
 *From: * t vinay vinaytu...@gmail.com
 *Sender: * excel-macros@googlegroups.com
 *Date: *Tue, 11 Sep 2012 22:48:24 +0530
 *To: *excel-macros@googlegroups.com
 *ReplyTo: * excel-macros@googlegroups.com
 *Subject: *$$Excel-Macros$$ Creating Custom Ribbon

 hi Team,m

 Can any one help me in creating a customized tab in excel ribbon, when i
 share that excel file to others they, those button should be able to see
 them.


 Thanks

 --
 Regards,

 Vinay. T

  --
 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.



 --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ entering Array formula in lookup function

2012-09-08 Thread Sam Mathai Chacko
Dave, I guess Paul's issue is more on not being able to enter this as an
array formula. Changing the vector array elements to strings probably
doesn't really make a difference if the issue is about entering the CSE
formula.

Regards,
Sam Mathai Chacko

On Sat, Sep 8, 2012 at 1:38 AM, David Grugeon da...@grugeon.com.au wrote:

 The numbers are strings too


 =LOOKUP(A2,{0,1,2,3,4,5,6,7,8,9},{#,#,#,#,#,#,#,#,#})

 Regards
 David Grugeon

 On 8 September 2012 03:57, Paul Schreiner schreiner_p...@att.net wrote:
  Sorry, I copy/pasted the wrong one.
  I'm still having trouble inserting it as an array function.
 
  thanks,
 
 
  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: Sam Mathai Chacko samde...@gmail.com
  To: excel-macros@googlegroups.com
  Sent: Fri, September 7, 2012 1:26:28 PM
  Subject: Re: $$Excel-Macros$$ entering Array formula in lookup function
 
  Shouldn't they be strings?
 
  =LOOKUP(A2,{0,1,2,3,4,5,6,7,8,9},{#,#,#,#,#,#,#,#,#})
 
  Regards,
  Sam Mathai Chacko
 
  On Fri, Sep 7, 2012 at 10:37 PM, Paul Schreiner schreiner_p...@att.net
  wrote:
 
  Odd...
  I seem to be suffering a temporary loss of cognitive function.
  (can't think straight)
 
  I'm trying to use Lookup() to replace numbers with #
 
  I THOUGHT I could enter it as an array function like:
 
  =Lookup(A2,{0,1,2,3,4,5,6,7,8,9},{#,#,#,#,#,#,#,#,#,#})
 
  but I cannot seem to figure out how to get it to enter as an array
  function.
 
  I'm actually trying to DISPLAY a cell that has a PIN and blank out all
  except the last (4) digits
  So:
  A2 is 123-45-6789
  the result of the lookup would be:
  B2:  ###-##-6789
 
  However, the original string isn't always formatted the same.
  I need to retain the non-numeric characters.
 
  Any ideas?
  Maybe I just need an Array Formula refresher
  Hmm...
 
  Paul S.
 
  --
  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.
 
 
 
 
 
 
  --
  Sam Mathai Chacko
 
  --
  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.
 
 
 
  --
  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

Re: $$Excel-Macros$$ Re: treeview

2012-09-08 Thread Sam Mathai Chacko
James, MS had released a hotfix in April/May, and one of the libraries that
changed was the mscomctl.ocx, following which a lot of vba developers
started complaining about issues regarding ListView controls and treeview
controls.

Can you try deleting all the .EXD files in your VBA forms folder in the
microsoft root folder and then opening your excel workbook.

Regards,
Sam

On Sat, Sep 8, 2012 at 1:23 PM, james D jpadlimi...@gmail.com wrote:

 This doesn't work. It gives me a treeview on the new page in the control
 toolbox, but when I try and put it on a form it says Invalid Argument.

 I think I need to make some more points:

 This is not unique to my machine - I have seen it on 3 totally independent
 machines
 I am trying to ascertain that the treeview control is in mscomctl.ocx?
 Do people with windows 7 and office 2010 and a reference to this ocx see
 the treeview in the VBE?
 Does anyone know why I can't?

 I'm not really looking for a workaround, or a messy solution, I need a fix
 that I can apply to many machines. More importantly, I need to know why
 this problem is happening.


 On Saturday, 8 September 2012 08:44:55 UTC+1, bé trần văn wrote:

 I mean!

 How to load the controls on the Toolbox when Additional Controls
 ... do not actually be in VBA

 2012/9/8, Bé Trần Văn betnmtd...@gmail.com:
  2012/9/8, james D jpadl...@gmail.com:
  Hi David,
 
  I already tried that too. Can you tell me, are you on windows 7 with
  office
  2010 and seeing a treeview? I have been on 3 machines today none of
 which
  can do it.
 
  --
  Join official facebook page of this forum @
  https://www.facebook.com/**discussexcelhttps://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.
 
 
 
 
  You try this way
 
  How to load the controls on the Toolbox
  Insert 1 UserForm and click on the UserForm to the Control Toolbox.
  Click on Tab Controls Import Page ...
  Drive find where no File ControlsForUserform.pag, select it and click
 Open.
 
  Attachments.
 

  --
 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.






-- 
Sam Mathai Chacko

-- 
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

Re: $$Excel-Macros$$ entering Array formula in lookup function

2012-09-08 Thread Sam Mathai Chacko
Well, I guess then it's up to Paul to clarify what he's finding hard to do
here.
Sam

On Sat, Sep 8, 2012 at 2:34 PM, David Grugeon da...@grugeon.com.au wrote:

 This is an array option in the formula and does not have to be entered
 with CSE.  It is just overloaded.  You put the curly brackets in
 manually.

 David

 On 8 September 2012 17:44, Sam Mathai Chacko samde...@gmail.com wrote:
  Dave, I guess Paul's issue is more on not being able to enter this as an
  array formula. Changing the vector array elements to strings probably
  doesn't really make a difference if the issue is about entering the CSE
  formula.
 
  Regards,
  Sam Mathai Chacko
 
 
  On Sat, Sep 8, 2012 at 1:38 AM, David Grugeon da...@grugeon.com.au
 wrote:
 
  The numbers are strings too
 
 
 
 =LOOKUP(A2,{0,1,2,3,4,5,6,7,8,9},{#,#,#,#,#,#,#,#,#})
 
  Regards
  David Grugeon
 
  On 8 September 2012 03:57, Paul Schreiner schreiner_p...@att.net
 wrote:
   Sorry, I copy/pasted the wrong one.
   I'm still having trouble inserting it as an array function.
  
   thanks,
  
  
   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: Sam Mathai Chacko samde...@gmail.com
   To: excel-macros@googlegroups.com
   Sent: Fri, September 7, 2012 1:26:28 PM
   Subject: Re: $$Excel-Macros$$ entering Array formula in lookup
 function
  
   Shouldn't they be strings?
  
  
 =LOOKUP(A2,{0,1,2,3,4,5,6,7,8,9},{#,#,#,#,#,#,#,#,#})
  
   Regards,
   Sam Mathai Chacko
  
   On Fri, Sep 7, 2012 at 10:37 PM, Paul Schreiner 
 schreiner_p...@att.net
   wrote:
  
   Odd...
   I seem to be suffering a temporary loss of cognitive function.
   (can't think straight)
  
   I'm trying to use Lookup() to replace numbers with #
  
   I THOUGHT I could enter it as an array function like:
  
   =Lookup(A2,{0,1,2,3,4,5,6,7,8,9},{#,#,#,#,#,#,#,#,#,#})
  
   but I cannot seem to figure out how to get it to enter as an array
   function.
  
   I'm actually trying to DISPLAY a cell that has a PIN and blank out
 all
   except the last (4) digits
   So:
   A2 is 123-45-6789
   the result of the lookup would be:
   B2:  ###-##-6789
  
   However, the original string isn't always formatted the same.
   I need to retain the non-numeric characters.
  
   Any ideas?
   Maybe I just need an Array Formula refresher
   Hmm...
  
   Paul S.
  
   --
   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.
  
  
  
  
  
  
   --
   Sam Mathai Chacko
  
   --
   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$$ show only last four digit of the number

2012-09-07 Thread Sam Mathai Chacko
Would this help?

Regards,
Sam Mathai Chacko

On Fri, Sep 7, 2012 at 8:45 PM, maksood alam 786maks...@gmail.com wrote:

 Partially correct, but it show as per below

*Numbers*
  *Required out put*
  555-55-5505
  ***-***-5505
  555-55-125-0
  ***-**-***-*
  555-55--23
  ***-**-**55-23


 On Fri, Sep 7, 2012 at 8:41 PM, Kuldeep Singh naukrikuld...@gmail.comwrote:


 Dear Maksood,

 You can use this and more clarity see attached file.

 =RIGHT(SUBSTITUTE(A1,-,),4)

 Regards,
 Kuldeep Singh


 On Fri, Sep 7, 2012 at 8:38 PM, in.vaib...@gmail.com wrote:

 **
 First use Substitue fn to subst - with  and then use Right function.

 Rgds
 Vabs
 --
 *From: *maksood alam 786maks...@gmail.com
 *Sender: *excel-macros@googlegroups.com
 *Date: *Fri, 7 Sep 2012 20:33:28 +0530
 *To: *excel-macros@googlegroups.com
 *ReplyTo: *excel-macros@googlegroups.com
 *Subject: *Re: $$Excel-Macros$$ show only last four digit of the number


 Kuldeep, please read my question in the mail. it should show last four
 digit and rest of all should show *.
 if i use right(555-55--23,4) it will show 5-23 but the answer
 should be 5523.
 On Fri, Sep 7, 2012 at 8:29 PM, Kuldeep Singh 
 naukrikuld...@gmail.comwrote:


 Hi,

 Try this one.

 =RIGHT(A1,4)

 Regards,
 Kuldeep Singh

 On Fri, Sep 7, 2012 at 8:15 PM, maksood alam 786maks...@gmail.comwrote:

 Hi Guys,

 Below are the number i want to show only last four digit of the
 numbers and rest of all should be *, please provide me the solution.

 *Numbers*
  *Required out put*
  555-55-5505
  ***-***-5505
  555-55-125-0
  ***-**-***-*
  555-55--23
  ***-**-**55-23



 --
 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.

 --
 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.




 --
 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

Re: $$Excel-Macros$$ treeview

2012-09-07 Thread Sam Mathai Chacko
When you look at the references in the pre Windows 7 (where it's working),
your Excel file must be referencing the mscomctl file from the
Windows\System32 folder. So in your Windows 7, try running regsvr32 as
admin on the mscomctl file (ideally copy that from your working OS to the
other OS).

HTH

Regards,
Sam Mathai Chacko

On Fri, Sep 7, 2012 at 10:08 PM, james D jpadlimi...@gmail.com wrote:

 Hi.

 I am a VBA developer (Excel mainly) - I have built an Excel dashboard
 which contains a userform with a treeview on it. It all works fine pre
 Windows 7 with Office 2010, but with Windows 7 (and Office 2010) the
 treeview is no longer visible on the form.

 I have been searching most of the day. I have a registered (as admin)
 version of mscomctl.ocx in sysWOW64 - still nothing... can anyone help?

 When I add a reference to mscomctl in Tools/references, then choose
 additional controls via the toolbox treeview is not in the list... is it
 supposed to be in mscomctl?


 Thanks,
 James

 NB: This isn't an issue just on my machine, several others have the same
 issue.

 --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ entering Array formula in lookup function

2012-09-07 Thread Sam Mathai Chacko
Shouldn't they be strings?

=LOOKUP(A2,{0,1,2,3,4,5,6,7,8,9},{#,#,#,#,#,#,#,#,#})

Regards,
Sam Mathai Chacko

On Fri, Sep 7, 2012 at 10:37 PM, Paul Schreiner schreiner_p...@att.netwrote:

 Odd...
 I seem to be suffering a temporary loss of cognitive function.
 (can't think straight)

 I'm trying to use Lookup() to replace numbers with #

 I THOUGHT I could enter it as an array function like:

 =Lookup(A2,{0,1,2,3,4,5,6,7,8,9},{#,#,#,#,#,#,#,#,#,#})

 but I cannot seem to figure out how to get it to enter as an array
 function.

 I'm actually trying to DISPLAY a cell that has a PIN and blank out all
 except the last (4) digits
 So:
 A2 is 123-45-6789
 the result of the lookup would be:
 B2:  ###-##-6789

 However, the original string isn't always formatted the same.
 I need to retain the non-numeric characters.

 Any ideas?
 Maybe I just need an Array Formula refresher
 Hmm...

 Paul S.

 --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ show only last four digit of the number

2012-09-07 Thread Sam Mathai Chacko
Didn't you find my solution worthwhile?

Sam Mathai Chacko

On Fri, Sep 7, 2012 at 10:52 PM, maksood alam 786maks...@gmail.com wrote:

 Paul,

 I want excel function solution.

 On Fri, Sep 7, 2012 at 10:21 PM, Vabs in.vaib...@gmail.com wrote:

 superb answer sam..

 Thx


 On Friday, September 7, 2012 9:21:48 PM UTC+5:30, Sam Mathai Chacko wrote:

 Would this help?

 Regards,
 Sam Mathai Chacko

  On Fri, Sep 7, 2012 at 8:45 PM, maksood alam 786ma...@gmail.comwrote:

  Partially correct, but it show as per below

*Numbers*
  *Required out put*
  555-55-5505
  ***-***-5505
  555-55-125-0
  ***-**-***-*
  555-55--23
  ***-**-**55-23


   On Fri, Sep 7, 2012 at 8:41 PM, Kuldeep Singh naukri...@gmail.comwrote:


 Dear Maksood,

 You can use this and more clarity see attached file.

 =RIGHT(SUBSTITUTE(A1,-,),**4)

 Regards,
 Kuldeep Singh


  On Fri, Sep 7, 2012 at 8:38 PM, in.va...@gmail.com wrote:

 **
 First use Substitue fn to subst - with  and then use Right
 function.

 Rgds
 Vabs
 --
  *From: *maksood alam 786ma...@gmail.com
 *Sender: *excel-...@googlegroups.com
  *Date: *Fri, 7 Sep 2012 20:33:28 +0530
 *To: *excel-...@googlegroups.com**
 *ReplyTo: *excel-...@googlegroups.com
  *Subject: *Re: $$Excel-Macros$$ show only last four digit of the
 number


 Kuldeep, please read my question in the mail. it should show last
 four digit and rest of all should show *.
 if i use right(555-55--23,4) it will show 5-23 but the answer
 should be 5523.
  On Fri, Sep 7, 2012 at 8:29 PM, Kuldeep Singh 
 naukri...@gmail.comwrote:


 Hi,

 Try this one.

 =RIGHT(A1,4)

 Regards,
 Kuldeep Singh

  On Fri, Sep 7, 2012 at 8:15 PM, maksood alam 786ma...@gmail.comwrote:

  Hi Guys,

 Below are the number i want to show only last four digit of the
 numbers and rest of all should be *, please provide me the solution.

 *Numbers*
  *Required out put*
  555-55-5505
  ***-***-5505
  555-55-125-0
  ***-**-***-*
  555-55--23
  ***-**-**55-23



 --
 Join official facebook page of this forum @
 https://www.facebook.com/**discussexcelhttps://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.

  --
 Join official facebook page of this forum @
 https://www.facebook.com/**discussexcelhttps://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.




 --
 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

Re: $$Excel-Macros$$ show only last four digit of the number

2012-09-07 Thread Sam Mathai Chacko
Not sure if I can provide a smaller formula :)

Because of the length of the formula, if you ever want to try using a UDF,
use this

Function ASTERIK(strText As String, lngLeaveDigits As Long)

Dim lng As Long
Dim lngLen As Long

For lngLen = Len(strText) To 1 Step -1
If IsNumeric(Mid(strText, lngLen, 1)) Then
lng = lng + 1
If lngLeaveDigits  lng Then
Mid(strText, lngLen, 1) = *
End If
End If
Next
ASTERIK = strText

End Function

Regards,
Sam Mathai Chacko

On Fri, Sep 7, 2012 at 10:57 PM, maksood alam 786maks...@gmail.com wrote:

 Thank you very much Sam, it solved my qurey, and it is the right solution
 , but it is a very long formula , please provide me any short formula if
 possible.

 On Fri, Sep 7, 2012 at 10:53 PM, Sam Mathai Chacko samde...@gmail.comwrote:

 Didn't you find my solution worthwhile?

 Sam Mathai Chacko


 On Fri, Sep 7, 2012 at 10:52 PM, maksood alam 786maks...@gmail.comwrote:

 Paul,

 I want excel function solution.

  On Fri, Sep 7, 2012 at 10:21 PM, Vabs in.vaib...@gmail.com wrote:

 superb answer sam..

 Thx


 On Friday, September 7, 2012 9:21:48 PM UTC+5:30, Sam Mathai Chacko
 wrote:

 Would this help?

 Regards,
 Sam Mathai Chacko

  On Fri, Sep 7, 2012 at 8:45 PM, maksood alam 786ma...@gmail.comwrote:

  Partially correct, but it show as per below

*Numbers*
  *Required out put*
  555-55-5505
  ***-***-5505
  555-55-125-0
  ***-**-***-*
  555-55--23
  ***-**-**55-23


   On Fri, Sep 7, 2012 at 8:41 PM, Kuldeep Singh 
 naukri...@gmail.comwrote:


 Dear Maksood,

 You can use this and more clarity see attached file.

 =RIGHT(SUBSTITUTE(A1,-,),**4)

 Regards,
 Kuldeep Singh


  On Fri, Sep 7, 2012 at 8:38 PM, in.va...@gmail.com wrote:

 **
 First use Substitue fn to subst - with  and then use Right
 function.

 Rgds
 Vabs
 --
  *From: *maksood alam 786ma...@gmail.com
 *Sender: *excel-...@googlegroups.com
  *Date: *Fri, 7 Sep 2012 20:33:28 +0530
 *To: *excel-...@googlegroups.com**
 *ReplyTo: *excel-...@googlegroups.com
  *Subject: *Re: $$Excel-Macros$$ show only last four digit of the
 number


 Kuldeep, please read my question in the mail. it should show last
 four digit and rest of all should show *.
 if i use right(555-55--23,4) it will show 5-23 but the answer
 should be 5523.
  On Fri, Sep 7, 2012 at 8:29 PM, Kuldeep Singh naukri...@gmail.com
  wrote:


 Hi,

 Try this one.

 =RIGHT(A1,4)

 Regards,
 Kuldeep Singh

  On Fri, Sep 7, 2012 at 8:15 PM, maksood alam 
 786ma...@gmail.comwrote:

  Hi Guys,

 Below are the number i want to show only last four digit of the
 numbers and rest of all should be *, please provide me the 
 solution.

 *Numbers*
  *Required out put*
  555-55-5505
  ***-***-5505
  555-55-125-0
  ***-**-***-*
  555-55--23
  ***-**-**55-23



 --
 Join official facebook page of this forum @
 https://www.facebook.com/**discussexcelhttps://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.

  --
 Join official facebook page of this forum @
 https://www.facebook.com/**discussexcelhttps://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

Re: $$Excel-Macros$$ entering Array formula in lookup function

2012-09-07 Thread Sam Mathai Chacko
Strange! I can enter it as an array function =LOOKUP(A2,{0,1,2,3,4,5,6,7,8,
9},{#,#,#,#,#,#,#,#,#}) using CSE

Regards,
Sam


On Fri, Sep 7, 2012 at 11:27 PM, Paul Schreiner schreiner_p...@att.netwrote:

 Sorry, I copy/pasted the wrong one.
 I'm still having trouble inserting it as an array function.

 thanks,


 *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:* Sam Mathai Chacko samde...@gmail.com
 *To:* excel-macros@googlegroups.com
 *Sent:* Fri, September 7, 2012 1:26:28 PM
 *Subject:* Re: $$Excel-Macros$$ entering Array formula in lookup function

 Shouldn't they be strings?

 =LOOKUP(A2,{0,1,2,3,4,5,6,7,8,9},{#,#,#,#,#,#,#,#,#})

 Regards,
 Sam Mathai Chacko

 On Fri, Sep 7, 2012 at 10:37 PM, Paul Schreiner schreiner_p...@att.netwrote:

 Odd...
 I seem to be suffering a temporary loss of cognitive function.
 (can't think straight)

 I'm trying to use Lookup() to replace numbers with #

 I THOUGHT I could enter it as an array function like:

 =Lookup(A2,{0,1,2,3,4,5,6,7,8,9},{#,#,#,#,#,#,#,#,#,#})

 but I cannot seem to figure out how to get it to enter as an array
 function.

 I'm actually trying to DISPLAY a cell that has a PIN and blank out all
 except the last (4) digits
 So:
 A2 is 123-45-6789
 the result of the lookup would be:
 B2:  ###-##-6789

 However, the original string isn't always formatted the same.
 I need to retain the non-numeric characters.

 Any ideas?
 Maybe I just need an Array Formula refresher
 Hmm...

 Paul S.

 --
 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.






 --
 Sam Mathai Chacko

 --
 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.



 --
 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

Re: $$Excel-Macros$$ Moving Excel worksheet information in VBA memory

2012-09-04 Thread Sam Mathai Chacko
Try taking all the values of the used range to a variant variable.

Example

Sub T()

Dim var As Variant

var = Worksheets(Name).UsedRange.Value

End Sub

Regards,
Sam Mathai Chacko

On Tue, Sep 4, 2012 at 9:43 PM, Ruchir Joshi ruchirjo...@gmail.com wrote:

 Hello everyone,

 I am designing a tool to identify whether a cell has inter or intra sheet
 dependents using VBA. The problem is the extremely slow speed due to
 interaction with worksheet and use of 'showarrows' and 'hidearrows'
 function. Can the entire sheet information be copied into VBA memory, so
 that execution time reduces. ? I am looking forward for any code /
 supporting link.

 Regards
 Ruchir Joshi

 --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ Moving Excel worksheet information in VBA memory

2012-09-04 Thread Sam Mathai Chacko
No it won't. Try using

var = Worksheets(Name).UsedRange.Formula

Regards,
Sam Mathai Chacko

On Tue, Sep 4, 2012 at 9:56 PM, rjoshi88 ruchirjo...@gmail.com wrote:

 Hi sam,

 Thanks for the reply, but this would not give me information about other
 cell parameters like dependents.

 Ruchir


 On Tuesday, September 4, 2012 9:46:15 PM UTC+5:30, Sam Mathai Chacko wrote:

 Try taking all the values of the used range to a variant variable.

 Example

 Sub T()

 Dim var As Variant

 var = Worksheets(Name).UsedRange.**Value

 End Sub

 Regards,
 Sam Mathai Chacko

 On Tue, Sep 4, 2012 at 9:43 PM, Ruchir Joshi ruchi...@gmail.com wrote:

 Hello everyone,

 I am designing a tool to identify whether a cell has inter or intra
 sheet dependents using VBA. The problem is the extremely slow speed due to
 interaction with worksheet and use of 'showarrows' and 'hidearrows'
 function. Can the entire sheet information be copied into VBA memory, so
 that execution time reduces. ? I am looking forward for any code /
 supporting link.

 Regards
 Ruchir Joshi

 --
 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.






 --
 Sam Mathai Chacko

  --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ Re: Noorain Ansari - Most Helpful Member August 2012

2012-09-04 Thread Sam Mathai Chacko
Congratulations Noorain. Keep up the excellent work.

Regards,
Sam

On Tue, Sep 4, 2012 at 3:40 PM, Prince Dubey prince141...@gmail.com wrote:

 Congrats Noorain sir.

 On Sunday, September 2, 2012 10:33:02 AM UTC+5:30, Ayush Jain wrote:

  Dear members,

 Once again, Noorain Ansari has been selected as 'Most Helpful Member' for
 the month of Aug'12. He has posted 111 posts in August 2012 and helped many
 forum members through his excel expertise.
 I truly appreciate his consistency and commitment to the group. He is
 really doing great job.
 *Noorain, please find enclosed the award certificate in honour of your
 contribution.*

 Thanks to all other folks for helping excel enthusiasts voluntarily !!
 Keep posting.

 Regards,
 Ayush Jain
 Group Manager
 Microsoft MVP

  --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ EXCELLENT MIND READING

2012-09-01 Thread Sam Mathai Chacko
It cannot give a wrong result. Look a little more closely!

On Sat, Sep 1, 2012 at 2:39 PM, vaibhav joshi vaibhav...@gmail.com wrote:

 Hi But got it correct


 On Sat, Sep 1, 2012 at 1:38 PM, Rajan_Verma rajanverma1...@gmail.comwrote:

 *Wrong Result **J** *

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 * *

 *From:* excel-macros@googlegroups.com [mailto:
 excel-macros@googlegroups.com] *On Behalf Of *Sarika Parab
 *Sent:* 01 September 2012 12:58
 *To:* Reshma Shelar; gauri rane; Nishant Sakpal; Ashish Shinde //Kotak
 /Bank; DSOUZA Snowel; excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ EXCELLENT MIND READING

 ** **

 ** **


 EXCELLENT  MIND READING

 *This will drive you up the wall!!*

 *CLICK ON HOUSE**[image: Description:
 cid:1.3658108220@web125205.mail.ne1.yahoo.com]*http://www.quizyourprofile.com/guessyournumber.swf
 

  

  

 ** **

 ** **

 --
 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.

  

 --
 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.




  --
 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.






-- 
Sam Mathai Chacko

-- 
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

Re: $$Excel-Macros$$ MOST REPEATED NO

2012-08-17 Thread Sam Mathai Chacko
Or directly by rounding in the formula itself

=ROUND(INDEX(B3:B21,MATCH(LARGE(FREQUENCY(ROUND(B3:B21,2),ROUND(B3:B21,2)),2
),FREQUENCY(ROUND(B3:B21,2),ROUND(B3:B21,2)),0)),2)

Change the RED colored 2 to 3 for third most repeated number and so on

And if you only need to get the second largest number, you can use a
simpler formula

=MODE(--SUBSTITUTE(ROUND(B3:B21,2),MODE(ROUND(B3:B21,2)),MAX(B3:B21)+ROW(INDIRECT(1:ROWS(B3:B21)

Regards,
Sam Mathai Chacko

On Fri, Aug 17, 2012 at 7:07 PM, dguillett1 dguille...@gmail.com wrote:

   Looks like homework to me also but this should do it AFTER rounding
 your column B into column A


 =INDEX($A$3:$A$21,MATCH(LARGE(FREQUENCY($A$3:$A$21,$A$3:$A$21),ROW(A1)),FREQUENCY($A$3:$A$21,$A$3:$A$21),0))

 Don Guillett
 Microsoft Excel Developer
 SalesAid Software
 dguille...@gmail.com

  *From:* Amit Gandhi silkyro...@gmail.com
 *Sent:* Friday, August 17, 2012 1:30 AM
 *To:* excel-macros@googlegroups.com
 *Subject:* $$Excel-Macros$$ MOST REPEATED NO

 Hi Experts

 If there is any formula which can calculate MOST REPEATED NO from a list?
 Sample file attached.

 Pls help me here.

 Regards

 Amit


 --
 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.



 --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ Excel VBA Challenge

2012-08-14 Thread Sam Mathai Chacko
A suggested way to do it in
http://www.excelfox.com/forum/f13/delete-worksheets-without-loop-515/

Here's a slightly modified version of the same

Sub kTest()

Dim var As Variant

With Application
var = .Transpose(.Evaluate(Row(2:  Sheets.Count  )))
.DisplayAlerts = 0
Sheets(var).Delete
.DisplayAlerts = 1
End With

End Sub

Regards,
Sam Mathai Chacko

On Tue, Aug 14, 2012 at 8:02 PM, Rajan_Verma rajanverma1...@gmail.comwrote:

 Hi Guys,

 Challenge is to Delete all Sheets Except one without any loop and mapping
 table.

 Keep Excelling

 * *

 * *

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 ** **

 --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ What is the future of VBA?

2012-08-11 Thread Sam Mathai Chacko
It's not easy to say, what with all the changes in that side of the world,
but we have to agree that computation in a spreadsheet will remain as long
as industries and scenarios need analysis and data interpretation. So I am
assuming Excel will be one of the leading spreadsheet application.

If VBA isn't there, something will be there that will be similar. And as
software evolves, people evolve. So, I for one, don't tend to be
apprehensive about changes, or rather, potential changes, such as those.

Regards,
Sam Mathai Chacko

On Sun, Aug 12, 2012 at 2:01 AM, yogananda muthaiah 
yogananda.mutha...@gmail.com wrote:

 Dear All,

 What is the future of VBA?

 Or will it be killed suddenly like VB6?

 Do write back all your thoughts on given subject



 Regards
 Yogananda Muthaiah


  --
 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.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ Activate the word wrap option in excel......

2012-08-08 Thread Sam Mathai Chacko
It would be very difficult to precisely figure the length of text and then
decide on the length of the text and then wrap it

Anyway, in case you want to activate word wrap on any change in the cell,
use

Private Sub Worksheet_Change(ByVal Target As Range)

Target.WrapText = True

End Sub

in the code sheet.
Regards,
Sam

On Wed, Aug 8, 2012 at 6:50 PM, Mohammed Muneer mmun...@ccc.com.qa wrote:

 

 Dear friends,

 ** **

 I want to make active the *word wrap* option here so that the text train
 should not cross the page break while typing.

   

   Any formula or vba code is there to be adopted to apply on this.

   

   Regards,

   Muneer,

   CC….

 ** **

   

 --
 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.






-- 
Sam Mathai Chacko

-- 
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.


image001.gif

Re: $$Excel-Macros$$ Help with Formula Destination

2012-08-06 Thread Sam Mathai Chacko
=HYPERLINK(#CELL(address,Sheet3!A1),Sheet3!A1)

Regards

Sam Mathai Chacko

On Mon, Aug 6, 2012 at 9:41 PM, ashish koul koul.ash...@gmail.com wrote:

 =HYPERLINK(#'SUBSTITUTE(CELL(address,Sheet2!A3),!,'!),Sheet2!A3)




 On Mon, Aug 6, 2012 at 7:09 PM, Ashish Pradhan ashlyprad...@gmail.comwrote:


 Hello

 I have many cells with formulae in them in Sheet Main

 For Example:

 ='Staff Bonus'!E67

 Is there a simpler way to go to the Sheet Staff Bonus and cell E67
 from the Main sheet which contains this formulae?

 I think I was able to do this much earlier, but either I am mistaken or
 have simply forgotten. Any help / clarification would ease my work a lot
 and be highly appreciated.

 Just as an additional piece of information, I use Excel 2003 (SP3)

  --
 Thanks

 Ashish Pradhan

  --
 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.






 --
 *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-macros@googlegroups.com.
 To unsubscribe from this group, send email to
 excel-macros+unsubscr...@googlegroups.com.






-- 
Sam Mathai Chacko

-- 
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.




Re: $$Excel-Macros$$ Trace Precedents and Trace Error

2012-08-03 Thread Sam Mathai Chacko
Trace Precendents and Trace Error is different from each other literally as
it sounds. For any single cell containing any formula, its precedents are
nothing but any cell or cells that it references in that formula.

Trace Error on the other hand for any single cell containing any formula,
is the precedent cell or cells in that formula that have an error.

So a cell traced using the Trace Error will always be a precedent cell of
that cell, but a cell traced using the Trace Precedents will not
necessarily have an error to be traced with the Trace Error feature.

Regards,
Sam

On Fri, Aug 3, 2012 at 8:42 PM, Rajan_Verma rajanverma1...@gmail.comwrote:

 * *

 *Hi Group,*

 * *

 *Is there any difference in Trace Precedents and Trace Error in Excel??*

 * *

 *I don’t need any link to see because  I have already Google it.*

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 ** **

 --
 FORUM RULES (986+ 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.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com

 To unsubscribe, send a blank email to
 excel-macros+unsubscr...@googlegroups.com






-- 
Sam Mathai Chacko

-- 
FORUM RULES (986+ 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. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

--
To post to this group, send email to excel-macros@googlegroups.com

To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com




Re: $$Excel-Macros$$ Trace Precedents and Trace Error

2012-08-03 Thread Sam Mathai Chacko
Rajan isn't asking about Formula Auditing, which I am sure he is aware of.
His question is about the difference between Trace Precedents and Trace
Error which are two separate features in Excel.

Please read my post before.

Regards,
Sam Mathai Chacko

On Fri, Aug 3, 2012 at 9:34 PM, ChilExcel chilexcel...@gmail.com wrote:

 Rajan



 These tool in Excel allows us to Trace Precedents in a formula, Trace
 Dependents , Show formulas, Error checking and Evaluating formula in Excel.
 [image: Imágenes integradas 1]

 detail


 *Trace Precedents:* When you click this button, Excel draws arrows to the
 cells (the so-called *direct precedents*) that are referred to in the
 formula inside the selected cell. When you click this button again, Excel
 adds tracer arrows that show the cells (the so-called *indirect
 precedents*) that are referred to in the formulas in the direct
 precedents.

 *Trace Dependents:* When you click this button, Excel draws arrows from
 the selected cell to the cells (the so-called *direct dependents*) that
 use, or depend on, the results of the formula in the selected cell. When
 you click this button again, Excel adds tracer arrows identifying the cells
 (the so-called *indirect dependents*) that refer to formulas found in the
 direct dependents.

 *Remove Arrows:* Clicking this button (or the Remove Arrows option on its
 drop-down menu) removes all the arrows drawn, no matter what button or
 command you used to put them there.

 *Show Formulas:* To display all formulas in their cells in the worksheet
 instead of their calculated values (just like pressing Ctrl+`).
 • *Error Checking*: When you click this button or the Error Checking
 option on its drop-down menu, Excel displays the Error Checking dialog box,
 which describes the nature of the error in the current cell, gives you help
 on it, and enables you to trace its precedents. Click the Trace Error
 option on this button's drop-down menu to attempt to locate the cell that
 contains the original formula that has an error. Click the Circular
 References option on this button's drop-down menu to display a menu with a
 list of all the cell addresses containing circular references in the active
 worksheet.


 *Evaluate Formula:* Clicking this button opens the Evaluate Formula
 dialog box, where you can have Excel evaluate each part of the formula in
 the current cell. The Evaluate Formula feature can be quite useful in
 formulas that nest many functions within them.

 Chilexcel

 2012/8/3 Rajan_Verma rajanverma1...@gmail.com

  * *

 *Hi Group,*

 * *

 *Is there any difference in Trace Precedents and Trace Error in Excel??*

 * *

 *I don’t need any link to see because  I have already Google it.*

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 ** **

 --
 FORUM RULES (986+ 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.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com

 To unsubscribe, send a blank email to
 excel-macros+unsubscr...@googlegroups.com






 --
 Visita ; http://sites.google.com/site/chilexcel/Home
 Visita ; http://www.youtube.com/user/timextag41

  --
 FORUM RULES (986+ 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.

 NOTE : Don't ever post personal or confidential data in a workbook. Forum
 owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com

 To unsubscribe, send a blank email to
 excel-macros+unsubscr...@googlegroups.com






-- 
Sam Mathai Chacko

-- 
FORUM RULES (986+ members already BANNED for violation)

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

Re: $$Excel-Macros$$ Trace Precedents and Trace Error

2012-08-03 Thread Sam Mathai Chacko
1. Your post came on top of my post, so there is no way of me proposing
'another' solution.

2. It is not your answer (
http://www.dummies.com/how-to/content/understanding-excel-2010s-formula-auditing-tools.html
)

3. There is no reason to feel offended. I was only saying that it was a
different question, and you probably (apparently) didn't understand what
was asked.

Sam

On Fri, Aug 3, 2012 at 9:51 PM, ChilExcel chilexcel...@gmail.com wrote:

 Mr.Sam Mathai Chacko

 I only answer queries or questions .. if you do not like my answer
 you propose another solution .. and everyone happy!!!


 Chilexcel



 2012/8/3 Sam Mathai Chacko samde...@gmail.com

 Rajan isn't asking about Formula Auditing, which I am sure he is aware
 of. His question is about the difference between Trace Precedents and Trace
 Error which are two separate features in Excel.

 Please read my post before.

 Regards,
 Sam Mathai Chacko


 On Fri, Aug 3, 2012 at 9:34 PM, ChilExcel chilexcel...@gmail.com wrote:

 Rajan



 These tool in Excel allows us to Trace Precedents in a formula, Trace
 Dependents , Show formulas, Error checking and Evaluating formula in Excel.
 [image: Imágenes integradas 1]

 detail


 *Trace Precedents:* When you click this button, Excel draws arrows to
 the cells (the so-called *direct precedents*) that are referred to in
 the formula inside the selected cell. When you click this button again,
 Excel adds tracer arrows that show the cells (the so-called *indirect
 precedents*) that are referred to in the formulas in the direct
 precedents.

 *Trace Dependents:* When you click this button, Excel draws arrows from
 the selected cell to the cells (the so-called *direct dependents*) that
 use, or depend on, the results of the formula in the selected cell. When
 you click this button again, Excel adds tracer arrows identifying the cells
 (the so-called *indirect dependents*) that refer to formulas found in
 the direct dependents.

 *Remove Arrows:* Clicking this button (or the Remove Arrows option on
 its drop-down menu) removes all the arrows drawn, no matter what button or
 command you used to put them there.

 *Show Formulas:* To display all formulas in their cells in the
 worksheet instead of their calculated values (just like pressing Ctrl+`).
 • *Error Checking*: When you click this button or the Error Checking
 option on its drop-down menu, Excel displays the Error Checking dialog box,
 which describes the nature of the error in the current cell, gives you help
 on it, and enables you to trace its precedents. Click the Trace Error
 option on this button's drop-down menu to attempt to locate the cell that
 contains the original formula that has an error. Click the Circular
 References option on this button's drop-down menu to display a menu with a
 list of all the cell addresses containing circular references in the active
 worksheet.


 *Evaluate Formula:* Clicking this button opens the Evaluate Formula
 dialog box, where you can have Excel evaluate each part of the formula in
 the current cell. The Evaluate Formula feature can be quite useful in
 formulas that nest many functions within them.

 Chilexcel

  2012/8/3 Rajan_Verma rajanverma1...@gmail.com

  * *

 *Hi Group,*

 * *

 *Is there any difference in Trace Precedents and Trace Error in Excel??
 *

 * *

 *I don’t need any link to see because  I have already Google it.*

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 ** **

 --
 FORUM RULES (986+ 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.

 NOTE : Don't ever post personal or confidential data in a workbook.
 Forum owners and members are not responsible for any loss.


 --
 To post to this group, send email to excel-macros@googlegroups.com

 To unsubscribe, send a blank email to
 excel-macros+unsubscr...@googlegroups.com






 --
 Visita ; http://sites.google.com/site/chilexcel/Home
 Visita ; http://www.youtube.com/user/timextag41

 --
 FORUM RULES (986+ 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

Re: $$Excel-Macros$$ Trace Precedents and Trace Error

2012-08-03 Thread Sam Mathai Chacko
:) ending this here. No comments

On Fri, Aug 3, 2012 at 10:27 PM, ChilExcel chilexcel...@gmail.com wrote:

 1) I'm trying to say is that no matter if 1 or 2
to response, if bad or good response anrterior
 just answer something to contribute and you!

  2) yes is a copy of (
 http://www.dummies.com/how-to/content/understanding-excel-2010s-formula-auditing-tools.html)
   You will not wait to draft all the text again, there is an effort by
 someone else, ..thanks for posting the link
  3) I clearly understand the question,  you are who do not understand
  rajan did not want links or anything He wanted an answer
 this reviewer Rajan.. is what matters !!!


 Chilexcel





 2012/8/3 Sam Mathai Chacko samde...@gmail.com

 1. Your post came on top of my post, so there is no way of me proposing
 'another' solution.

 2. It is not your answer (
 http://www.dummies.com/how-to/content/understanding-excel-2010s-formula-auditing-tools.html
 )

 3. There is no reason to feel offended. I was only saying that it was a
 different question, and you probably (apparently) didn't understand what
 was asked.

 Sam


 On Fri, Aug 3, 2012 at 9:51 PM, ChilExcel chilexcel...@gmail.com wrote:

 Mr.Sam Mathai Chacko

 I only answer queries or questions .. if you do not like my answer
 you propose another solution .. and everyone happy!!!


 Chilexcel



 2012/8/3 Sam Mathai Chacko samde...@gmail.com

 Rajan isn't asking about Formula Auditing, which I am sure he is aware
 of. His question is about the difference between Trace Precedents and Trace
 Error which are two separate features in Excel.

 Please read my post before.

 Regards,
 Sam Mathai Chacko


 On Fri, Aug 3, 2012 at 9:34 PM, ChilExcel chilexcel...@gmail.comwrote:

 Rajan



 These tool in Excel allows us to Trace Precedents in a formula, Trace
 Dependents , Show formulas, Error checking and Evaluating formula in 
 Excel.
 [image: Imágenes integradas 1]

 detail


 *Trace Precedents:* When you click this button, Excel draws arrows to
 the cells (the so-called *direct precedents*) that are referred to in
 the formula inside the selected cell. When you click this button again,
 Excel adds tracer arrows that show the cells (the so-called *indirect
 precedents*) that are referred to in the formulas in the direct
 precedents.

 *Trace Dependents:* When you click this button, Excel draws arrows
 from the selected cell to the cells (the so-called *direct dependents*)
 that use, or depend on, the results of the formula in the selected cell.
 When you click this button again, Excel adds tracer arrows identifying the
 cells (the so-called *indirect dependents*) that refer to formulas
 found in the direct dependents.

 *Remove Arrows:* Clicking this button (or the Remove Arrows option on
 its drop-down menu) removes all the arrows drawn, no matter what button or
 command you used to put them there.

 *Show Formulas:* To display all formulas in their cells in the
 worksheet instead of their calculated values (just like pressing Ctrl+`).
 • *Error Checking*: When you click this button or the Error Checking
 option on its drop-down menu, Excel displays the Error Checking dialog 
 box,
 which describes the nature of the error in the current cell, gives you 
 help
 on it, and enables you to trace its precedents. Click the Trace Error
 option on this button's drop-down menu to attempt to locate the cell that
 contains the original formula that has an error. Click the Circular
 References option on this button's drop-down menu to display a menu with a
 list of all the cell addresses containing circular references in the 
 active
 worksheet.


 *Evaluate Formula:* Clicking this button opens the Evaluate Formula
 dialog box, where you can have Excel evaluate each part of the formula in
 the current cell. The Evaluate Formula feature can be quite useful in
 formulas that nest many functions within them.

 Chilexcel

  2012/8/3 Rajan_Verma rajanverma1...@gmail.com

  * *

 *Hi Group,*

 * *

 *Is there any difference in Trace Precedents and Trace Error in
 Excel??*

 * *

 *I don’t need any link to see because  I have already Google it.*

 * *

 *Regards*

 *Rajan verma*

 *+91 7838100659 [IM-Gtalk]*

 ** **

 --
 FORUM RULES (986+ 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.

 NOTE : Don't ever post personal or confidential data in a workbook.
 Forum owners and members are not responsible for any loss

  1   2   3   4   5   6   >