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

    PowerPivot Calculating Max of column

    Works perfectly!!! Thanks so much!!!
  2. T

    PowerPivot Calculating Max of column

    Thanks. I'm trying to create a calculated column. I tried your suggestion but it only returned BLANK. Should I use something besides "xxxx" at the end of the formula? I removed the "xxxx" and it returned the largest number in the whole table for col 3.
  3. T

    PowerPivot Calculating Max of column

    Hello, I'm trying to calculate the maximum number in one column (Col 3) based on the common values in another column (Col 1). Example given. Thanks for your help.
  4. T

    PowerPivot and DISTINCTCOUNT

    It works!!!! Thanks Kyle - You Da Man:cool:
  5. T

    PowerPivot and DISTINCTCOUNT

    Luke, thanks for the suggestion. I tried it but got an error that a circular dependency was detected. Even without the error, I don't think counting the blank etnries would work since I have quite a few and would have resulted in a negative number.
  6. T

    PowerPivot and DISTINCTCOUNT

    Hi, I have a a column in powerpivot where I want to count the number of distinct entries but exclude entries that are blank in the count. The formula in the calculated field is: UniqueIDProcessID Records:=DISTINCTCOUNT([UniqueIDProcessID]) For example: I know I have three unique records given...
  7. T

    How to make a Command Button visible/invisible

    Got it figured out!! I had other routines that included: "Application.EnableEvents = False" without ending the routine with "Application.EnableEvents = True" I added the following to each sheet that included the button that I needed to make named command buttons visible/invisible and...
  8. T

    How to make a Command Button visible/invisible

    Narayan, Thanks. The file you sent works exactly as I expected. The button becomes visible/invisible as soon as I change the value in e13. However, once I open my file, your file no longer works. Even when I close my fiel, yours still doesn't work. I have to completely exit excel and...
  9. T

    How to make a Command Button visible/invisible

    Narayan, I've tried this: Private Sub Worksheet_Activate() 'ActiveX button If Range("e13").Value = 0 Then Sheets("RA NE").ViewRA_NE_GT_2_Days.Visible = False Else Sheets("RA NE").ViewRA_NE_GT_2_Days.Visible = True End If End Sub However, when I go to the "RA NE" sheet where the value of...
  10. T

    How to make a Command Button visible/invisible

    Thanks it works perfectly . . . but only when I manually run the code. How do I get it to run when the user goes to that sheet? Thanks again. Almost there.
  11. T

    How to make a Command Button visible/invisible

    Hello, I have a command button on an excel sheet that I want to make visible / invisible based on the results of a formula or value of a cell. How would I do this in VBA? Thanks!
  12. T

    PowerPIvot Error - Evaluating Numbers

    Hello, I keep getting the following error: "ERROR - CALCULATION ABORTED: MdxScript(Sandbox) (6, 61) The function SUM takes an argument that evaluates to numbers or dates and cannot work with values of type String." I'm trying to create a PowerPivot using data from a table with the...
  13. T

    Userform not displaying properly

    Still looking for help with my userform display. It looks like the last link worked according to Narayank991. Thanks
  14. T

    Userform not displaying properly

    Hopefully, third time is a charm! I hink the previous link did not include the "131" at then end when you cliked on the link. https://skydrive.live.com/?cid=fe046114d24ad196&id=FE046114D24AD196%21131
  15. T

    Userform not displaying properly

    Sorry about that. Try this: https://skydrive.live.com/redir?resid=FE046114D24AD196!131
  16. T

    Userform not displaying properly

    SirJB7 and others, Thanks for all your help. Still searching for a solution. Here's a link to a "shell" file that should have. I hope this helps...
  17. T

    Userform not displaying properly

    SirJB7, Thanks. The spreadsheet/userform I'm using has a lot of proprietary info so I can't upload a sample file that would illustrate the problem I'm having. Is there a way to upload the image as a jpeg? As far as the method - I'm using the Show & Hide method for the userform. Regards,
  18. T

    Userform not displaying properly

    Hello, I have a problem that is difficult to explain without having the actual form in front of you but here goes . . . I have a user form with checkboxes (I'll call them parent checkboxes)that activates and or displays other textboxes (child textboxes) and/or checkboxes (child checkboxes)...
  19. T

    Need to be able to select only 1 of 3 checkboxes

    I have a UserForm with 5 columns and 3 checkboxes in each column. The user can only check 1 of the three check boxes in each column. What VBA code would I use to manage this part of the form. I have use the following when the user can only select one checkbox or the other: Private Sub...
  20. T

    How do I get a form TextBox to show 9% vs. .09?

    I'm looking for VBA code to have TextBoxes maintain the formatting that the ControlSource has on the actual spreadsheet. I've searched throughout Chandoo but haven't been able to find any VBA code or if there are properties on the TextBox that will do this. Thanks Thomas
  21. T

    Need VBA code to delete all sheets that start with Sheet

    Luke, Works like a charm! Thanks
  22. T

    Need VBA code to delete all sheets that start with Sheet

    I have a number of users of a workbook that contains a number of pivot tables. When the user views the data behind the table, a new sheet is displayed. I know its not difficult to simply delete the new sheet, but you don't understand my users. Therefore, I'd like to have code that deletes ALL...
  23. T

    Find and Replace a file name used in formulas

    Got it!! Cells.Replace What:="File_Name_Placeholder", Replacement:= _ Worksheets("Sheet1").Range("$B$3").Value, LookAt:=xlPart, SearchOrder:=xlByRows, _ MatchCase:=False _ , SearchFormat:=False, ReplaceFormat:=False This does the seach and replace in all sheets. Thanks Hui for pointing...
  24. T

    Find and Replace a file name used in formulas

    Hui, Thanks! The script works but only for one cell at a time (i.e., I have to keep running the macro.) What do I need to change to have it change all of the references on 4 different sheets? Thomas
  25. T

    Find and Replace a file name used in formulas

    Hi. I'm trying to figure out how to find & replace "File_Name_Placeholder" in all formulas contained in the workbook with the actual file name entered by the user in Sheet1: $B$3 For example: The user enters the file name: abcsheet.xlsx in cell $B$3 on Sheet1 In cell $B$3 on Sheet2 is the...
Back
Top