Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mtroche
  • Content: Threads
  • Order by date
  1. mtroche

    Calling procedure from a sheet in Excel

    I am calling a procedure called TRET from an UserForm. TRET is located in sheet6. Here is part of my code: If A=1 then sheet6.TRET else call SUGAR end if The problem is that I can't call TRET from sheet6!! It says that there is a "Type mismatch". What I am doing wrong!!
  2. mtroche

    Checking if a file exists.

    I have this SUB to look if a file exists. If the file exists it's supposed to do nothing, but if it doesn't exists the file is created. The problem is that if the file already exists the following error occurs: "Path not found." Of course, the file "X" does exists in "c:\". Sub test() If...
  3. mtroche

    Printing a form with caption

    I have a userform and inside it there is a form with a caption; you know, those letters that cosses the line of the frame. Well, the thing is that I can see the caption in my monitor but, when I print it, it just print everything but the frame's caption. Any help?
  4. mtroche

    Delete or Clear RowSource

    How do I delete or clear a rowsource from a combobox? I have a userform called "A" and a combobox called "B". I am trying to use this command, but it doesn't works: A.B.RowSource = " " Any suggestion will be very helpful because I have no idea on how to do that. Att. MTroche
  5. mtroche

    Deflection for Concrete Prestressed Power Pole

    What is the recomended deflection for a concrete pole? I am working with them and I don't want to make my design too expensive neither too frightening to the people looking the poles too inclined, although it's safe. Thanks for any help.
  6. mtroche

    [b]Copying cells' values to a page in a multipage.[/b]

    I want to copy some cells' values from a worksheet to a page in a multipage, but I can't find how to do this. Note that the worksheet and the multipage is at the same workbook. Following is the code I'm trying to use, but it desn't works. Private Sub CommandButton6_Click()...
  7. mtroche

    Working with a MultiPage.

    Hallow Everyone: I want to open a page from a MultiPage thru a VBA Program in Excel, but I have no idea how to do it. Also, I want to make, let's say the page #2, available in some occasions. How can I do it? Att. MTroche
  8. mtroche

    Reading Excel File Properties Using VBA in Excel

    Hellow Everyone, I need help in making a VBA program in Excel to read the Created, Modified and Accessed Date and Time of an Excel file when the same Excel file opens. I know it can be done reading the file properties, but how can I do it? I'll appreciate any help.
  9. mtroche

    "CommandBars" not recognized in EXCEL.

    I am trying to automatically hide all toolbars when I open this workbook, but the program always says that CommandBars is empty. What I am doing wrong?! Below you can see my program. 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Private Sub Workbook_Open() Call HideAllToolbars...
  10. mtroche

    [color #ff0000]Problems with IF.. .Then

    Below is the program tied to a userform in EXCEL. The userform is used to get the desired clearence below a powerline and the place from the lowest pole where the desired clearance will be calculated. The problem is that the span is 25 meters long and I can't calculate the clearance at the...
  11. mtroche

    Variable not accepting a range of values.

    Below is the program tied to a userform in EXCEL. The userform is used to get the desired clearence below a powerline and the place from the lowest pole where the desired clearance will be calculated. The problem is that the span is 25 meters long and I can't calculate the clearance at the...
  12. mtroche

    How to analize the lateral forces in a soil due to a pole?

    Searching in my soil mechanic books I didn't find any information and formula about how to analize the forces that the wind or any other lateral force acting on the pole causes the pole itself to drift. I am trying to analize the lateral forces in the soil due to the forces acting on a...
  13. mtroche

    How do I show a list of unique items in a ComboBox?

    I have a ComboBox showing the items from an array, but there are some repeated items and I don't want to show the same item twice or more in the ComboBox. How can I do it? How can I make the ComboBox to show each item from the same array just one time and don't show repeated items? I will...
  14. mtroche

    How do I show a list of unique items in a ComboBox?

    My program is in VBA. I have a ComboBox showing the items from an array, but there are some repeated items and I don't want to show the same item twice or more in any ComboBox. How can I do it? How can I make the ComboBox to show each item from the same array just one time and don't show...
  15. mtroche

    Problems using a Public Array

    I want to store some data to a Public Array but the following Error Message appears: "Complie error Constants, fixed-length strings, arrays, user-defined types and Declare statements not allowed as Public memebers of object modules." I am using a UserForm to get the information at...
  16. mtroche

    Ruling span calculation for transmission cables.

    Help strongly desired!! I am working in calculating the sag and tension of transmission cables, and I have this doubt: if I have a ruling span, shall I use the difference in elevation at the beginning and end of the ruling span or shall I use the maximum difference in elevation in the ruling...
  17. mtroche

    Where can I find the Loss Coefficient (k) for bends below 90 degrees?

    Where can I find the Loss Coefficient (k) for bends below 90 degrees? Is there any table or chart to get this value?
  18. mtroche

    What elevations shall I put in the energy equation....?

    ... to get the total discharge head (TDH) of a pump? I mean, let say that my pump is higher than the end of the pipeline, and there are soe places lower than the end of the pipeline. Do I have to take both elevations (Z1 and Z2)as the lower and higher point in the pipeline in question? Or...
  19. mtroche

    Where can I get the kinematic viscosity of sanitary water?

    I wonder if the kinematic viscosity of sanitary water is the same as the water kinematic viscosity of water.
  20. mtroche

    Air Vent details ...

    Where can I get some Air Vent Details for a 4" ductil iron pipe. Thanks for your information.

Part and Inventory Search