Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Search results for query: *

  1. ron513

    Excel VBA sheet number

    I’m a big fan of F1 but did not know about F2. I love this site! Thanks again. Ron
  2. ron513

    Excel VBA sheet number

    PH, that works thanks. I was also trying to get a little education on the Sheet.CodeName that Skip mentioned. It may not apply in this situation but just for future use. I plan on checking into it. Ron
  3. ron513

    Excel VBA sheet number

    Skip thanks for sticking with me. My code will loop though all the sheets in the workbook starting from the sheet named Index to the last sheet, so I’m using the variable ShtIndex for the starting sheet of the loop. Ron
  4. ron513

    Excel VBA sheet number

    For my application would this be the correct statement? ShtIndex = Sheets("Index").CodeName Ron
  5. ron513

    Excel VBA sheet number

    I need a VBA statement(s) that will supply a variable with the sheet number of a specific sheet. For example the sheet number of the sheet named Index. Thanks Ron
  6. ron513

    Excel cell validation

    That’s it, thanks John. Ron
  7. ron513

    Excel cell validation

    I have, but could not apply it to my situation, although it could be my inexperience. Ron
  8. ron513

    Excel cell validation

    I need assistance with coding cell validation. In a worksheet I want the user to enter a value in one of two cells, a value cannot be in both. Also a message box would be display indicating the error to the user. Thanks Ron
  9. ron513

    Outlook macro, text in subject field

    I am running this from outlook and do have the suggested references. Shifting priorities has moved this down my list so I have not worked on it since the first try. Subsequent posts will be in the VBA forum. Thanks again. Ron
  10. ron513

    Outlook macro, text in subject field

    Gerry, Thanks for the reply. It appears I need a little hand holding on this. I’m receiving the error message “object variable or with block variable not set” What am I doing wrong? What is an “accessible module” and if the user selected Word as the e-mail editor should the macro be in...
  11. ron513

    Outlook macro, text in subject field

    I need assistance creating a macro for outlook to add a specific string of text to the subject field of a message. The user would open a new message run the macro and the text would be entered in the subject field as well as the ability to run the macro on a forward or reply message. Thanks, Ron
  12. ron513

    Excel: incorporate last row code into procedure

    Thanks Skip and Zack, I’m always amazed at the quick responses from this group. Zack, It works great thanks again. It should look familiar, it is mostly your code after you did an overhaul on mine a while back. All but using Integer of course. :-) The faq you reference is great stuff. Ron
  13. ron513

    Excel: incorporate last row code into procedure

    Hello, The code below is executed from a workbook (WB1), the user selects a workbook (WB2), it loops through all sheets and copies values from specific cells in WB2 to WB1. The values from each sheet of WB2 will be entered in a new row on WB1, starting on row 3. I would like to alter the code to...
  14. ron513

    Excel – help correcting subscript out of range error

    Zack Thanks for the last row example but it is not needed for my situation. It will always start on the third row and the data from each sheet will be on a row. A question about you code. What is the purpose of the statement: fileName = Right(fullName, Len(fullName) - InStrRev(fullName, "\"))...
  15. ron513

    Excel – help correcting subscript out of range error

    Zack, It works great and the code looks better and more efficient, I assume. I have much to learn, thanks for helping with my learning process. I used the rCount variable for the starting row in the workbook the data is copied to (macro installed in) then it is incremented by one for each...
  16. ron513

    Excel – help correcting subscript out of range error

    I require some help with an error I receive when a macro executes. The purpose of the macro is to copy data from a workbook the user selects to the workbook the macro is in. It loops though the sheets and copies data from specific cells on each sheet to a row, one sheet to each row. The error...
  17. ron513

    Display text box from combo box selection

    Hello On a form I would like to display specific text boxes depending on a selection the user makes in a combo box on the same form. In the form load event the text boxes are visible = false. Would the code be similar to this: Private Sub ShowEntry() If Me.cboEntry.Text = "Comments" Then...
  18. ron513

    Form resizing help

    Thanks all for the replies. I will check out your suggestions and let you know. Ron

Part and Inventory Search

Back
Top