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 TouchToneTommy 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. LoNeRaVeR

    help: loop through colums

    Timme1: I believe there to be some other problem with your code. If you run the following example written as you describe it selects each of the columns from A to IV. Sub LoopColumns() Dim iCol As Integer iCol = 1 Do While iCol <= 256 Columns(iCol).Select iCol = iCol + 1 Loop...
  2. LoNeRaVeR

    Disable the msgboxes macro and links when open an excel file

    francky: Disable Macro Message Box The Macro Virus Protection feature in Microsoft Excel is designed to warn you when the workbook you are opening contains macro code. When you receive the warning, you can enable or disable the code. The only way to prevent this is to change the security...
  3. LoNeRaVeR

    Is there any way to solve this Protecting Shapes problem?

    nimo: As rmikesmith stated, why don't you protect the sheet after you create the buttons the way you want. This way the sheet will still be protected so the user cannot make changes, and you won't receive your errors. Regards, LoNeRaVeR
  4. LoNeRaVeR

    Multiple copies for one Printout Command

    RobBroekhuis & gregoriw: I realize that this is not related with regards to printing, but I worked on an Excel project to send E-mail based on information in an Excel spreadsheet and after some research, trial, and error I discovered this method. Perhaps you could use the same method to send...
  5. LoNeRaVeR

    Change from numbers to letters in Excel?

    Zenkai: You can use the following to return the relative address without the absolute $ designators. expression.Address(RowAbsolute:=False, ColumnAbsolute:=False) Regards, LoNeRaVeR
  6. LoNeRaVeR

    Accelerator key - special keys

    venkman: The following code will run the sub RUNTHIS whenever the escape key is pressed. Application.OnKey &quot;{ESCAPE}&quot;, &quot;RUNTHIS&quot; Regards, LoNeRaVeR
  7. LoNeRaVeR

    Disappearing eXcel ranges

    rmikesmith: It just verifies that we're right. [smile] LoNeRaVeR
  8. LoNeRaVeR

    Disappearing eXcel ranges

    tyhand: Excel keeps the same range of cells so that when you insert a column it moves that range to the next column. Set your range again after you insert the column to H:H. Regards, LoNeRaVeR
  9. LoNeRaVeR

    How do I spin trhough all the data in an Excel spreadsheet using VBA

    SBendBuckeye: Both RobBroekhuis and my examples select only those that contain formulae. RobBroekhuis's example will traverse all the sheets in the workbook. Regards, LoNeRaVeR
  10. LoNeRaVeR

    How do I spin trhough all the data in an Excel spreadsheet using VBA

    SBendBuckeye: The following code will select all the cells that contain formulae in one sheet and loop through them. Dim oCell As Object Cells.SpecialCells(xlCellTypeFormulas, 23).Select For Each oCell In Selection MsgBox oCell.Address & &quot; &quot; & oCell.Formula Next oCell...
  11. LoNeRaVeR

    Limiting filesearch return string

    RobBroekhuis: No wonder I didn't know about it. I'm still used to programming in XL97. funkmonsteruk: Here is the code that I used in XL97 For iChar = Len(sPath) To 1 Step -1 If Mid(sPath, iChar, 1) = &quot;\&quot; Then sFile = Mid(sPath, iChar + 1) Exit For End If...
  12. LoNeRaVeR

    .FIND failing - can you see the error?

    amember Your original code was: With Sheets(&quot;List&quot;) This may not be the answer, but is the code exactly as shown above? Maybe the answer should be With Sheets(&quot;Lists&quot;) Is the problem because the sheet is not named List, but is actually Lists? LoNeRaVeR
  13. LoNeRaVeR

    .FIND failing - can you see the error?

    aMember: The code works provided that you have a Sheet named Lists, a Range defined as Titles, and have a value assigned to the variable BookTitle. Dim Titles As Range With Sheets(&quot;List&quot;) Set Titles = .Range(.Range(&quot;Titles&quot;).Address, _...
  14. LoNeRaVeR

    Limiting filesearch return string

    RobBroekhuis: That is much easier than looping from the end of the path string looking for the &quot;\&quot; as I have been doing for years. I knew about the InStr function, but I was not aware of the InStrRev function. That is extremely helpful and worthy of the first that I have awarded...
  15. LoNeRaVeR

    Save A Formula As A Comment

    Any [color blue]Microsoft Excel[/color] user with large ranges of formulae has experienced the slow response of calculations each time a change is made in a worksheet. Sure you could turn the calculation off, but what if you still want some of the formulae to calculate? One solution is to...
  16. LoNeRaVeR

    Learning VBA

    xjlkx: As Loomah stated, John Walkenbach's site includes a wealth of VBA information. I own a few of his books, and they are well written and informative, but I would not normally suggest them to a novice programmer. I do not believe that the Tecumseh Group, Inc. allows the promotion of...
  17. LoNeRaVeR

    Copying a formula to x # of rows for one column

    FrodoBaggins: You can normally find the last row of data by using iRow = Cells(1, 1).SpecialCells(xlLastCell).Row This works with most text files. However, some Excel files where data was previously deleted may not provide an accurate LastCell since it looks for the last edited cell. A...
  18. LoNeRaVeR

    creating a menu with code

    TomG1: Please do share so others may learn from your findings. LoNeRaVeR
  19. LoNeRaVeR

    creating a menu with code

    TomG1: I apologize. My code was written in Excel VBA, and it won't transfer. I'm not familiar with Word VBA. I know that you will use the CommandBars(&quot;Menu Bar&quot;) object, but I'm not sure how to add items within the Menu Bar. If I find something, I'll let you know. Take care...
  20. LoNeRaVeR

    creating a menu with code

    TomG1: In what application are you attempting to create the Menu (Access, Excel, Outlook, Word) and what version are you using (95, 97, 2000)? LoNeRaVeR

Part and Inventory Search

Back
Top