Re: $$Excel-Macros$$ hiya

2011-10-14 Thread Sam Mathai Chacko
the entire range reference including the name of the sheet, same as above. Attaching a sample for reference. Regards, Sam Mathai Chacko (GL) On Fri, Oct 14, 2011 at 11:11 PM, Alexander Cargill zandercatz1...@gmail.com wrote: hi there have cells on another sheet of my workbook

Re: $$Excel-Macros$$ Pivot Help

2011-10-14 Thread Sam Mathai Chacko
VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- Sam Mathai Chacko

Re: $$Excel-Macros$$ Toggle a Cell value

2011-10-14 Thread Sam Mathai Chacko
the attachment. Have used the BeforeRightClick event, as well as the DoubleClick event. Either one event should trigger the macro, which means you don't have to select another cell and come back for the macro to trigger. Regards, Sam Mathai Chacko (GL) On Sat, Oct 15, 2011 at 3:32 AM, Cab Boose swch

Re: $$Excel-Macros$$ Dynamic chart range

2011-10-13 Thread Sam Mathai Chacko
Another faster method would be =Sheet1!$A$1:INDEX(Sheet1!$A$1:$A$1000,COUNTA(Sheet1!$A$1:$A$1000)) OR for a more expanded range =Sheet1!$A$1:INDEX(Sheet1!$A:$A,COUNTA(Sheet1!$A:$A)) Regards, Sam Mathai Chacko (GL) On Thu, Oct 13, 2011 at 8:17 AM, rajan verma rajanverma1...@gmail.comwrote

Re: $$Excel-Macros$$ Conditional format for the cell containing date

2011-10-13 Thread Sam Mathai Chacko
Use this formula based conditional in your Sheet 2 column A =ISNUMBER(MATCH(INDIRECT(RC,FALSE),Holiday,0)) Regards, Sam Mathai Chacko On Thu, Oct 13, 2011 at 6:09 AM, Atul atul_pate...@yahoo.com wrote: Hi, I need your help on using conditional formatting for a cell contaning

Re: $$Excel-Macros$$ Conditional format for the cell containing date

2011-10-13 Thread Sam Mathai Chacko
Oops, forgot to write Holiday*s* =ISNUMBER(MATCH(INDIRECT(RC,FALSE),Holiday*s*,0)) Sam On Thu, Oct 13, 2011 at 11:55 AM, Sam Mathai Chacko samde...@gmail.comwrote: Use this formula based conditional in your Sheet 2 column A =ISNUMBER(MATCH(INDIRECT(RC,FALSE),Holidays,0)) Regards, Sam

Re: $$Excel-Macros$$ Selecting a date from a database, which equal to or lesser than the selected date

2011-10-13 Thread Sam Mathai Chacko
Fortunately, there are smaller formulas. Here's one =INDEX($C$2:$C$19,SUMPRODUCT(MATCH($E2$D2,$B$2:$B$19$A$2:$A$19,1))) Here's another one that uses array =INDEX($C$2:$C$19,MATCH($E2$D2,$B$2:$B$19$A$2:$A$19,1)) Regards, Sam Mathai Chacko (GL) On Thu, Oct 13, 2011 at 1:06 PM, B Sharma sharma

Re: $$Excel-Macros$$ can we change hard copy in excel

2011-10-13 Thread Sam Mathai Chacko
Mathai Chacko -- -- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3

Re: $$Excel-Macros$$ Selecting a date from a database, which equal to or lesser than the selected date

2011-10-12 Thread Sam Mathai Chacko
Here's the formula, where your dates start from A2 to A7 =SUMPRODUCT(MAX(($A$2:$A$7=B2)*($A$2:$A$7))) Regards Sam Mathai Chacko On Wed, Oct 12, 2011 at 5:45 PM, B Sharma sharma@gmail.com wrote: Hi Sanjib ... can you please send me your email id so that i can send you a sample file

Re: $$Excel-Macros$$ Pasting a button onto multiple sheets

2011-10-12 Thread Sam Mathai Chacko
With End If Next lngLoop With Application .Goto Sheets(1).Cells(1) .ScreenUpdating = True End With End Sub Regards, Sam Mathai Chacko (GL) On Wed, Oct 12, 2011 at 9:03 PM, Divaker Pandey divake...@gmail.com wrote: it is so easy, if you use hyperlink instead of button

Re: $$Excel-Macros$$ Read a menu and produce results

2011-10-11 Thread Sam Mathai Chacko
, and On Error GoTo -1 disables the enabled exception. For more info on Error Handling, check http://msdn.microsoft.com/en-us/library/5hsw66as%28v=vs.80%29.aspx Regards, Sam Mathai Chacko (GL) On Tue, Oct 11, 2011 at 5:37 PM, Monizri moni...@gmail.com wrote: Hi Sam, I am new to VBA and have been trying

Re: $$Excel-Macros$$ Unable to change date fromate

2011-10-11 Thread Sam Mathai Chacko
formula, try this =IF(ISNUMBER(A2),A2, DATE(RIGHT(A2,4),SUBSTITUTE(MID(A2,SEARCH(/,A2)+1,2),/,),SUBSTITUTE(LEFT(A2,2),/,)) ) Regards, Sam Mathai Chacko (GL) On Tue, Oct 11, 2011 at 9:01 PM, NOORAIN ANSARI noorain.ans...@gmail.comwrote: Dear Suman, if you interested to use VBA then you can use

Re: $$Excel-Macros$$ Macro pauses if opening a workbook with links

2011-10-10 Thread Sam Mathai Chacko
Mathai Chacko -- -- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3

Re: $$Excel-Macros$$ Dates In Excel

2011-10-10 Thread Sam Mathai Chacko
=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1:B1)))=1)) Where A1 and B1 are your start dates, and 1=Sunday, 2=Monday, 3=Tuesday etc Regards, Sam Mathai Chacko (GL) On Mon, Oct 10, 2011 at 10:57 PM, RockyFontane vtorral...@gmail.com wrote: I am trying to count the number of Sunday's between two date

Re: $$Excel-Macros$$ Dates In Excel

2011-10-10 Thread Sam Mathai Chacko
, Sam On Mon, Oct 10, 2011 at 11:17 PM, Sam Mathai Chacko samde...@gmail.comwrote: =SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1:B1)))=1)) Where A1 and B1 are your start dates, and 1=Sunday, 2=Monday, 3=Tuesday etc Regards, Sam Mathai Chacko (GL) On Mon, Oct 10, 2011 at 10:57 PM, RockyFontane

Re: $$Excel-Macros$$ Dates In Excel

2011-10-10 Thread Sam Mathai Chacko
=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(C3:D3)),1)6)) -- Thanks regards, Noorain Ansari *http://excelmacroworld.blogspot.com/*http://excelmacroworld.blogspot.com/ *http://noorain-ansari.blogspot.com/*http://noorain-ansari.blogspot.com/ On Mon, Oct 10, 2011 at 11:39 PM, Sam Mathai Chacko

Re: $$Excel-Macros$$ Read a menu and produce results

2011-10-08 Thread Sam Mathai Chacko
- 4 service records copied to the service report. End Sub On Oct 8, 12:17 am, Sam Mathai Chacko samde...@gmail.com wrote: I believe the forum is not able to comprehend what 'can i get excel to read a menu with selections using X in a cell' is trying to convey. Maybe you want

Re: $$Excel-Macros$$ A macro pauses execution for no reason

2011-10-07 Thread Sam Mathai Chacko
on facebook , Just follow below link http://www.facebook.com/discussexcel -- Sam Mathai Chacko -- -- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com

Re: $$Excel-Macros$$ Read a menu and produce results

2011-10-07 Thread Sam Mathai Chacko
to this group, send email to excel-macros@googlegroups.com Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- Sam Mathai Chacko -- -- Some important links for excel users: 1

Re: $$Excel-Macros$$ Conditional Formatting Highlight of Changed Cells

2011-10-06 Thread Sam Mathai Chacko
Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- Sam Mathai Chacko -- -- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http

Re: $$Excel-Macros$$ Linking same format sheet

2011-10-05 Thread Sam Mathai Chacko
at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- Sam Mathai Chacko

Re: $$Excel-Macros$$ prompting for files for data import

2011-10-05 Thread Sam Mathai Chacko
If With ActiveSheet.QueryTables.Add(Connection:= _ TEXT; strFile, Destination:= _ Range($A$1)) strFile = .Name = MyFile1 .FieldNames = True . ... ... Regards, Sam Mathai Chacko (GL) On Wed, Oct 5, 2011 at 9:21 PM

Re: $$Excel-Macros$$ prompting for files for data import

2011-10-05 Thread Sam Mathai Chacko
://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com ** Like our page on facebook , Just follow below link http://www.facebook.com/**discussexcelhttp://www.facebook.com/discussexcel -- Sam Mathai Chacko

Re: $$Excel-Macros$$ prompting for files for data import

2011-10-05 Thread Sam Mathai Chacko
If you need prompts, and if the files are in different folders, then Application.GetOpenFileName (my earlier code uses it) can be helpful Regards, Sam On Wed, Oct 5, 2011 at 11:06 PM, Sam Mathai Chacko samde...@gmail.comwrote: Just take care of the sheet activation also. If you are going

Re: $$Excel-Macros$$ Macro Reg:

2011-10-05 Thread Sam Mathai Chacko
ThisWorkbook.Sheets.Select Application.EnableEvents = False Selection.Formula = Target.Formula Application.EnableEvents = True ActiveSheet.Select End If End Sub Regards, Sam Mathai Chacko (GL) On Wed, Oct 5, 2011 at 9:01 PM, hariharan.thara...@wipro.com

Re: $$Excel-Macros$$ Update sheets on Enter

2011-10-05 Thread Sam Mathai Chacko
on searching in this forum.and learnt that i need to use the Worksheet Change Event.is it exactly the same don which i need to use Any ways,thanks for all the help given by you all...Especially DON.. On Tue, Oct 4, 2011 at 11:09 PM, Sam Mathai Chacko samde...@gmail.comwrote: For the sake

Re: $$Excel-Macros$$ Need a help -----very urgent

2011-10-05 Thread Sam Mathai Chacko
=DATEVALUE(LEFT(A3,2)/MID(A3,FIND( ,A3)+1,3)/RIGHT(A3,4)) Regards, Sam Mathai Chacko (GL) On Thu, Oct 6, 2011 at 10:20 AM, B.N.Chethan kumar chetankumar1...@gmail.com wrote: Hi All, I have attached file where i get some data in text format. I need convert to date and time format

Re: $$Excel-Macros$$ Need a help -----very urgent

2011-10-05 Thread Sam Mathai Chacko
http://www.facebook.com/discussexcel -- Sam Mathai Chacko -- -- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN

Re: $$Excel-Macros$$ Need a help -----very urgent

2011-10-05 Thread Sam Mathai Chacko
Well, actually, use Range(A3:A6).TextToColumns Destination:=Range(A3), DataType:=1, TextQualifier:=1, FieldInfo:=Array(1, 4), TrailingMinusNumbers:=True Sorry for posting without testing the previous one. Regards, Sam Mathai Chacko (GL) On Thu, Oct 6, 2011 at 10:57 AM, Sam Mathai Chacko

Re: $$Excel-Macros$$ Pivot

2011-10-04 Thread Sam Mathai Chacko
two columns, year and month along with the average of VND. Post back if you need any help Regards, Sam Mathai Chacko (GL) On Tue, Oct 4, 2011 at 9:24 PM, Rahul Garwad garwads...@gmail.com wrote: Thanks Sam, Could you please explain the method used ? Regards Rahul. On Tue, Oct 4, 2011

Re: $$Excel-Macros$$ Connection String for connecting a MYSQL DB to Excel 2007

2011-10-03 Thread Sam Mathai Chacko
, Sam Mathai Chacko (GL) On Mon, Oct 3, 2011 at 10:48 PM, Nitin nitinhemm...@gmail.com wrote: Hi All, I want to be able to run queries within Excel like this: -- mysql01 = select * from

Re: $$Excel-Macros$$ Working out of Statistics on Exam Results URGENT solution needed!

2011-10-03 Thread Sam Mathai Chacko
-- Sam Mathai Chacko -- -- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid

Re: $$Excel-Macros$$ Connection String for connecting a MYSQL DB to Excel 2007

2011-10-03 Thread Sam Mathai Chacko
manually? Regards, Sam On Tue, Oct 4, 2011 at 12:00 AM, Nitin Hemmady nitinhemm...@gmail.comwrote: Hi Yes I saw this, but I still get a General ODBC error. thank you On Mon, Oct 3, 2011 at 1:23 PM, Sam Mathai Chacko samde...@gmail.comwrote: Working with the inbuilt query feature in Excel

Re: $$Excel-Macros$$ Help, Alert MsgBox Pair duplicate entry in row

2011-10-03 Thread Sam Mathai Chacko
://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- Sam Mathai Chacko

Re: $$Excel-Macros$$ Extract (%) Numbers from the text

2011-10-02 Thread Sam Mathai Chacko
at the very beginning of the text like '8% with pcm or 45% in the aggregate', it will return a blank, and not 8%. But I guess that would be a very rare case :D Enjoy, Sam Mathai Chacko (GL) On Sun, Oct 2, 2011 at 5:15 PM, rajan verma rajanverma1...@gmail.comwrote: Try this: =IF(ISERROR(MID(A2,FIND

Re: $$Excel-Macros$$ find doubling

2011-10-02 Thread Sam Mathai Chacko
.Offset(, -1).Resize(, 2).Copy Sheets.Add(After:=ActiveSheet).Cells(1) .AutoFilter .Cells(0).Resize(.Rows.Count + 1).Clear End With End Sub Regards, Sam Mathai Chacko (GL) On Sun, Oct 2, 2011 at 11:05 AM, anil kumar kmr7a...@gmail.com wrote: Hi suman, I have

Re: $$Excel-Macros$$ New Microsoft MVP Mr. Ayush Jain (2nd Times)..

2011-10-02 Thread Sam Mathai Chacko
Your success precedes you Ayush. We acknowledge and appreciate your contribution to the Excel community, and so have Microsoft. Congratulations again on behalf of all those who have and will gain from your selfless endeavors. Best Regards Sam Mathai Chacko (GL) On Sun, Oct 2, 2011 at 8:54 PM

Re: $$Excel-Macros$$ Help needed to find total Unique count from a range of moving dates

2011-10-02 Thread Sam Mathai Chacko
. Regards, Sam Mathai Chacko (GL) On Sun, Oct 2, 2011 at 6:18 PM, Amit Desai (MERU) amit.de...@merucabs.comwrote: Dear All, ** ** Need your help.. ** ** Please find attached excel file. I need to analyse revisit of vehicles in workshop with a moving average of 30 days 1st aug

Re: $$Excel-Macros$$ Help needed to find total Unique count from a range of moving dates

2011-10-02 Thread Sam Mathai Chacko
Amit, please go to Names Manager, and give the name of the range as Data, and use the formula that I provided below. To go to Name Manager using a short-cut key, hit CTRL+F3 Post back if you need more help. Regards, Sam Mathai Chacko (GL) On Mon, Oct 3, 2011 at 12:10 AM, Amit Desai (MERU

Re: $$Excel-Macros$$ SEARCHING DATA WITHIN SHEET WHICH IS SELECTED IN DROP DOWN LIST

2011-10-01 Thread Sam Mathai Chacko
FOR HELPING ME I HAVE ONE QUERY ALSO PENDING I WANT THAT WHICH CELLS HAVE NOT ANY RESULT THEY CAN DISPLAYED AS BLANK NOT AS #NUM IN THE FORMULA THAT I HAVE USED IN ATTACHED FILE. On Sat, Oct 1, 2011 at 4:15 PM, Sam Mathai Chacko samde...@gmail.comwrote: By the way, replace SINGH with $C$3

Re: $$Excel-Macros$$ SEARCHING DATA WITHIN SHEET WHICH IS SELECTED IN DROP DOWN LIST

2011-10-01 Thread Sam Mathai Chacko
,MMMYY)!$B$2:$B$9)))+1,),ROW(A1 Sam On Sat, Oct 1, 2011 at 10:28 PM, Sam Mathai Chacko samde...@gmail.comwrote: Interesting!!! Here you go... =IF(ISERROR(SMALL(IF(ISNUMBER(SEARCH($C$3,INDIRECT(TEXT(SEARCH!$D$1,MMMYY)!$B$2:$B$9))),ROW(INDIRECT(TEXT(SEARCH!$D$1,MMMYY)!$B$2:$B$9))-MIN(ROW

Re: $$Excel-Macros$$ Most Helpful Member Sep'11 - Noorain Ansari

2011-10-01 Thread Sam Mathai Chacko
Fabulous work Noorain. You make a difference, and all of us in the forum appreciate your contribution. Carry on the excellent work. Sam Mathai Chacko (GL) On 10/2/11, suryaprasad...@gmail.com suryaprasad...@gmail.com wrote: Hip Hip Hurry.. For sure you deserve that NOORAIN u rock dear

Re: $$Excel-Macros$$ SEARCHING DATA WITHIN SHEET WHICH IS SELECTED IN DROP DOWN LIST

2011-09-30 Thread Sam Mathai Chacko
USE =INDEX(INDIRECT(TEXT(D1,MMMYY)!$A$2:$A$65536),SMALL(IF(ISNUMBER(SEARCH($C$3,INDIRECT(TEXT(D1,MMMYY)!$B$2:$B$65536))),ROW(INDIRECT(TEXT(D1,MMMYY)!$B$2:$B$65536))-MIN(ROW(INDIRECT(TEXT(D1,MMMYY)!$B$2:$B$65536)))+1,),ROW(A1))) in B8 Regards Sam Mathai Chacko (GL) On Sat, Oct 1, 2011 at 8:03

Re: $$Excel-Macros$$ Very tuff macro

2011-09-28 Thread Sam Mathai Chacko
://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- Sam Mathai Chacko

Re: $$Excel-Macros$$ Retrieving data in horizontal form

2011-09-26 Thread Sam Mathai Chacko
://www.facebook.com/discussexcel -- Sam Mathai Chacko -- -- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group

Re: $$Excel-Macros$$ Re: Retrieving data in horizontal form

2011-09-26 Thread Sam Mathai Chacko
Nicely done by Noorain. Shouldn't the solution provided by ChilExcel suffice? Pivot tables as it is dynamic in nature, you just need to pass the source range. Regards, Sam Mathai Chacko (GL) On Mon, Sep 26, 2011 at 11:40 AM, NOORAIN ANSARI noorain.ans...@gmail.comwrote: Dear Amit, Please

Re: $$Excel-Macros$$ Trap window activate event from personal macro workbook

2011-09-26 Thread Sam Mathai Chacko
with the mentioned sheet name is activated at an application level. The event which you mentioned is at the Workbook level (associated with the file that it is written in). Aju requires the event at an application level. Let me know if you need further clarification. Regards Sam Mathai Chacko On Mon, Sep

Re: $$Excel-Macros$$ Trap window activate event from personal macro workbook

2011-09-26 Thread Sam Mathai Chacko
. Regards Sam Mathai Chacko On Mon, Sep 26, 2011 at 4:42 PM, Paul Schreiner schreiner_p...@att.net wrote: Forgive me if this is totally off-base. But I have never used the Activate event in a Class module. In the ThisWorkbook module, I would use: Private Sub Workbook_Activate()    startappmon

Re: $$Excel-Macros$$ columns data need to be in reverse order

2011-09-25 Thread Sam Mathai Chacko
OR, you could use a formula to reverse it too Use =INDEX($A$2:$M$2,COUNTA(A2:$M$2)) and drag to the right Regards Sam Mathai Chacko (GL) On Sep 23, 8:54 pm, dguillett1 dguille...@gmail.com wrote: Try in a macro enabled workbook (.xls or .xlsm) Sub CustomSortSAS() 'converts to values Rows

Re: $$Excel-Macros$$ columns data need to be in reverse order

2011-09-25 Thread Sam Mathai Chacko
Also, on second thought, the column count should be more sure than the value count. So *=INDEX($A$2:$M$2,COLUMNS(A2:$M$2))* would be better than *=INDEX($A$2:$M$2, COUNTA(A2:$M$2))* Regards, Sam Mathai Chacko (GL) On Sun, Sep 25, 2011 at 10:20 PM, Sam Mathai Chacko samde...@gmail.comwrote

Re: $$Excel-Macros$$ columns data need to be in reverse order

2011-09-25 Thread Sam Mathai Chacko
, _ Header:=xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlLeftToRight End Sub *From:* Sam Mathai Chacko samde...@gmail.com *Sent:* Sunday, September 25, 2011 11:53 AM *To:* MS EXCEL AND VBA MACROS excel-macros@googlegroups.com *Subject:* Re: $$Excel-Macros$$ columns data need

Re: $$Excel-Macros$$ Need help with forecast formula

2011-09-25 Thread Sam Mathai Chacko
Try =FORECAST(O8,$E$6:E7,$O$6:O7) in M8 and drag down HTH, Sam Mathai Chacko (GL) On Sun, Sep 25, 2011 at 11:12 PM, Steve Weaver steveweave...@comcast.netwrote: Each day I update the attached spreadsheet with with our previous days shipments. I would like to use the daily ship data

Re: $$Excel-Macros$$ Need help on String Matching

2011-09-21 Thread Sam Mathai Chacko
You could use a combination of Haseeb's formula and this array formula =INDEX(Sheet1!$A:$A,MIN(IFERROR(MATCH(RIGHT(A2,ABS(LEN(A2)+1-ROW(INDEX($A:$A,1):INDEX($A:$A,LEN(A2)*,Sheet1!$A:$A,0),))) The trick would be to identify *when* you would use either... Sam Mathai Chacko (GL) On Wed, Sep

Re: $$Excel-Macros$$ userform

2011-09-19 Thread Sam Mathai Chacko
and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- Sam Mathai Chacko

Re: $$Excel-Macros$$ Excel chart challenge

2011-09-17 Thread Sam Mathai Chacko
://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- Sam Mathai Chacko

Re: $$Excel-Macros$$ Re: Converting date with time to date withOUT time

2011-09-17 Thread Sam Mathai Chacko
://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- Sam Mathai Chacko -- -- Some important links

Re: $$Excel-Macros$$ Switching between windows when a form is opened

2011-09-16 Thread Sam Mathai Chacko
Mr Excellent, In the properties of the user form, you will have to change the showmodal property to False Regards, Sam Mathai Chacko (GL) On Fri, Sep 16, 2011 at 2:57 PM, Mr Excellent suryaprasad...@gmail.comwrote: *DID YOU GET MY QUESTION AS THE ANSWER IS NOT RELEVANT* On Fri, Sep 16

Re: $$Excel-Macros$$ datediff problem

2011-09-15 Thread Sam Mathai Chacko
format, instead of dd-mm-. Regards, Sam Mathai Chacko On Thu, Sep 15, 2011 at 7:25 PM, Shankar Bheema shankar.n...@gmail.comwrote: hai all, I am attaching my excel sheet userform. I am getting wrong result of months in different way. for example : Actual months difference between 01-02

Re: $$Excel-Macros$$ datediff problem

2011-09-15 Thread Sam Mathai Chacko
, dtmEnd) TextBox3.Text = (TextBox13.Text + Val(ComboBox9.Text)) * TextBox17.Text End Sub Private Sub UserForm_Initialize() ComboBox9.List = Array(1800, 1900, 2400, 2800, 4200, 4600, 4800, 5400, 6600, 7600, 8700, 8900, 1) End Sub Regards, Sam Mathai Chacko (GL) On Thu, Sep 15, 2011

Re: $$Excel-Macros$$ VBA Code For Repeating Of Text

2011-09-13 Thread Sam Mathai Chacko
words. Note that you cannot use ALT Regards, Sam Mathai Chacko (GL) On Tue, Sep 13, 2011 at 10:50 PM, Nikhil Shah nikhil201...@gmail.comwrote: Dear All, As per your E-mail I am sending here with an Excel Sheet Attachment in which I have shown what exactly I want. ( see column No ' O

Re: $$Excel-Macros$$ txt to excel

2011-09-12 Thread Sam Mathai Chacko
and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- Sam Mathai Chacko

Re: $$Excel-Macros$$ date difference

2011-09-12 Thread Sam Mathai Chacko
Private Sub CommandButton1_Click() txtdor.Text = DateAdd(, 60, IIf(Day(CDate(txtdob.Text)) = 1, DateAdd(d, -1, CDate(txtdob.Text)), CDate(txtdob.Text))) End Sub Regards, Sam Mathai Chacko (GL) On Mon, Sep 12, 2011 at 9:28 PM, Shankar Bheema shankar.n...@gmail.comwrote: but i am

Re: $$Excel-Macros$$ date difference

2011-09-12 Thread Sam Mathai Chacko
And if you go the formula way, try this =IF(DAY(A2)=1,DATE(YEAR(A2-1)+60,MONTH(A2-1)+1,0),DATE(YEAR(A2)+60,MONTH(A2)+1,0)) On Mon, Sep 12, 2011 at 9:43 PM, Sam Mathai Chacko samde...@gmail.comwrote: Thought you wanted to increment date only... Try this Private Sub CommandButton1_Click

Re: $$Excel-Macros$$ date difference

2011-09-12 Thread Sam Mathai Chacko
Mathai Chacko (GL) On Mon, Sep 12, 2011 at 9:37 PM, Shankar Bheema shankar.n...@gmail.comwrote: I tried with the provided code but its working only with the years but months and days are not working On Mon, Sep 12, 2011 at 9:33 PM, Sam Mathai Chacko samde...@gmail.comwrote: Private Sub

Re: $$Excel-Macros$$ date difference

2011-09-12 Thread Sam Mathai Chacko
) The downside of this function is that it evaluates BOTh the true and false parts, and sometimes can cause issues when evaluating various calculations like cheecking if a divisor is 0. Hope this helps. Sam Mathai Chacko On Mon, Sep 12, 2011 at 9:57 PM, Shankar Bheema shankar.n...@gmail.comwrote

Re: $$Excel-Macros$$ Open file using criteria from input box

2011-09-11 Thread Sam Mathai Chacko
, send email to excel-macros@googlegroups.com ** Like our page on facebook , Just follow below link http://www.facebook.com/**discussexcelhttp://www.facebook.com/discussexcel -- Sam Mathai Chacko -- -- Some

Re: $$Excel-Macros$$ Open file using criteria from input box

2011-09-11 Thread Sam Mathai Chacko
are to this group unwelcome then I have better things to do. GEEZ!!! Sub OpenFile() Workbooks.Open Filename:= _ C:\Users\user\Desktop\2011_ InputBox(Vnesi nalog) .xlsx End Sub *From:* Sam Mathai Chacko samde...@gmail.com *Sent:* Sunday, September 11, 2011 3:55 PM *To:* excel-macros

Re: $$Excel-Macros$$ Poem - जोर से बोलो दम लगा के जय, Excel -Macro परिवार.

2011-07-29 Thread Sam Mathai Chacko
://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- Sam Mathai Chacko -- -- Some

Re: $$Excel-Macros$$ Max value from a set of group

2011-07-24 Thread Sam Mathai Chacko
-- Sam Mathai Chacko -- -- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups

Re: $$Excel-Macros$$ Help in formula to find the top 10 values

2011-03-28 Thread Sam Mathai Chacko
://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel -- Sam Mathai Chacko -- -- Some

<    1   2   3   4   5   6