• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Search results

  1. Sam Mathai Chacko

    Cell lock enable after value entered

    Almost exactly what you are looking for http://www.excelfox.com/forum/f13/lock-cells-after-data-entered-132/
  2. Sam Mathai Chacko

    Creating Drop Down list from multiple sheet range

    You could loop through each sheet and get the values to be uniquely listed in another range, and then use that as a source. When you say drop-down list, are you referring to the data validation drop-down list in a cell, or a drop-down control?
  3. Sam Mathai Chacko

    Using textbox in Excel

    This should point you in the right direction
  4. Sam Mathai Chacko

    Pivot data range needs to be constant

    This should do Before Sheets.Copy, use something like this (I'm only taking one pivot table in to consideration, you can replicate it for others) Dim strSource1 As String strSource1 = Sheets("Details").PivotTables("PivotTable1").SourceData and just after the Next i...
  5. Sam Mathai Chacko

    Pivot data range needs to be constant

    1. Can you clarify exactly what your question is 2. Please wrap codes with code tags (Code)Your code here(/Code) replace the parenthesis with square brackets []
  6. Sam Mathai Chacko

    Counting widgets made in a given time range

    Excellent. But why didn't you give a look at Haseeb's latest post? I thought that was more straight-forward :)
  7. Sam Mathai Chacko

    VBA code to select the latest date from a pivot table field

    I just realized that your data also has blank rows. Please remove those. If they are absolutely necessary, then you need to use this Sub MaxDatePivot() Dim pfiPivFldItem As PivotItem Dim dtmDate As Date With Worksheets("Sheet1").PivotTables(1) .PivotCache.Refresh...
  8. Sam Mathai Chacko

    VBA code to select the latest date from a pivot table field

    Try this Sub MaxDatePivot() Dim pfiPivFldItem As PivotItem Dim dtmDate As Date With Worksheets("Sheet1").PivotTables(1) .PivotCache.Refresh .ClearAllFilters With .RowRange dtmDate = Evaluate("MAX(IF(ISNUMBER(" & .Address(0, 0) & ")," &...
  9. Sam Mathai Chacko

    Lookup and Return Multiple matches across multiple sheets

    This should help http://www.excelfox.com/forum/f2/vlookup-multiple-sheets-771/
  10. Sam Mathai Chacko

    Worksheet Name list.

    This should give you what you are looking for http://www.excelfox.com/forum/f13/list-all-worksheet-names-using-formula-119/
  11. Sam Mathai Chacko

    Fixed Capitalization

    All you need to do is copy and paste it to the code window of the sheet in which you need this done.
  12. Sam Mathai Chacko

    vba: hide chart

    You can use the Shapes collection to hide the chart. So for example If Flag1=0 Then Shapes("NameOfChart1").Visible = False Else Shapes("NameOfChart1").Visible = False End if Having said that activesheet.ChartObjects("NameOfChart").visible=false works perfectly fine
  13. Sam Mathai Chacko

    Fixed Capitalization

    In case you are finding it hard to figure out Narayan's VBA suggestion, this is what he meant Private Sub Worksheet_Change(ByVal Target As Range) Dim rng As Range For Each rng In Target If Not IsEmpty(rng) Then rng.Value = Application.Proper(rng.Value)...
  14. Sam Mathai Chacko

    Lookup Text in various row and result text in other column

    It denotes a very LARGE number ;) Lookup finds the largest number in the array, if all numbers are smaller than the lookup value itself. For example, =LOOKUP(100^100,{1,2,3,4,5,50},{10,12,14,16,18,20}) will return 20, while =LOOKUP(5,{1,2,3,4,5,50},{10,12,14,16,18,20}) will return 18. HTH
  15. Sam Mathai Chacko

    retrieving data from mails(outlook) using excel/vba

    I ran the code, and I am not able to replicate that error. I am assuming it's because outlook got closed. Can anybody else test the code please? You just need to keep Outlook open, open a fresh workbook, and include the Outlook reference library, and run the code
  16. Sam Mathai Chacko

    retrieving data from mails(outlook) using excel/vba

    OK, this is part of a solution I gave to another user elsewhere. You will notice that there are a few additional information, over what you need to fetch from your inbox. Moreover, I've also given an option to Select any folder in your inbox. You need to run this from the workbook where you...
  17. Sam Mathai Chacko

    Counting widgets made in a given time range

    By the way, my formula above could be made a little more shorter (assuming you're using an English version of Office) =SUMPRODUCT((TEXT(G7:G14,"MYYYY")="72013")*N(INDIRECT("R"&ROW(H7:H14)&"C"&COLUMN(H7:H14),))) Else, instead of MYYYY, use the appropriate alphabets for non-English
  18. Sam Mathai Chacko

    Autopaste as value

    Paste this in the Sheet code module. Private Sub Worksheet_Change(ByVal Target As Range) If Target.Column = 5 Then With Me.UsedRange.Range("A1:B" & Me.UsedRange.Rows.Count) .Value2 = .Value2 End With End If End Sub
  19. Sam Mathai Chacko

    Counting widgets made in a given time range

    Clever one Haseeb. You've given two solutions by just typing down one. Here's the other one =SUMIF(G:G,"<="&A2,H:H)-SUMIF(G:G,"<"&A1,H:H)
  20. Sam Mathai Chacko

    Countif formula query for multiple worksheets.

    Try this =COUNTIF(INDIRECT("'"&A1&"'!F4:F250"),"Pass") where A1 has the name of the sheet
  21. Sam Mathai Chacko

    retrieving data from mails(outlook) using excel/vba

    You can create any xlsx file, and save it anywhere on a folder that is accessible to you. Just replace the path I entered above with the entire path and file name of your file
  22. Sam Mathai Chacko

    Counting widgets made in a given time range

    Try this =SUMPRODUCT((MONTH(G7:G14)=7)*(YEAR($G$7:$G$14)=2013)*N(INDIRECT("R"&ROW(H7:H14)&"C"&COLUMN(H7:H14),)))
  23. Sam Mathai Chacko

    Counting widgets made in a given time range

    Peter, I'm sure the developers trying to help you read that already. If there's something more you want to clarify, please do so. Not sure if copying the same post over adds any value.
Back
Top