About 53,200,000 results
Open links in new tab
  1. Open an html page in default browser with VBA? - Stack Overflow

    Open an html page in default browser with VBA? Asked 15 years, 5 months ago Modified 2 years, 6 months ago Viewed 179k times

  2. automatically execute an Excel macro on a cell change

    How can I automatically execute an Excel macro each time a value in a particular cell changes? Right now, my working code is: Private Sub Worksheet_Change(ByVal Target As Range) If Not Inters...

  3. How to create and write to a txt file using VBA - Stack Overflow

    Since most of the contents are repetitive in that file, only the hex values are changing, I want to make it a tool generated file. I want to write the c codes which are going to be printed in that .txt file. What is …

  4. How to pause for specific amount of time? (Excel/VBA)

    This is why the best way of getting VBA to pause execution is a combination of both methods, using DoEvents to stay responsive and Sleep to avoid maximum CPU usage. An implementation of this is …

  5. VBA: Selecting range by variables - Stack Overflow

    I want to select the formatted range of an Excel sheet. To define the last and first row I use the following functions: lastColumn = ActiveSheet.UsedRange.Column - 1 + ActiveSheet.UsedRange.Columns.

  6. What are .NumberFormat Options In Excel VBA? - Stack Overflow

    Can you please let me know what are the .NumberFormat format options in Excel VBA? As you are fully aware Excel 2010 supports the following types: I know that we can set for example Text type as: .

  7. excel - VBA - Range.Row.Count - Stack Overflow

    Sub test() Dim sh As Worksheet Set sh = ThisWorkbook.Sheets("Sheet1") Dim k As Long k = sh.Range("A1", sh.Range("A1").End(xlDown)).Rows.Count End Sub What happens is this: We count …

  8. Properly Handling Errors in VBA (Excel) - Stack Overflow

    Block 2 looks like an imitation of a Try/Catch block. It should be okay, but it's not The VBA Way. Block 3 is a variation on Block 2. Block 4 is a bare-bones version of The VBA Way. I would strongly advise …

  9. How to show current user name in a cell? - Stack Overflow

    In most of the online resource I can find usually show me how to retrieve this information in VBA. Is there any direct way to get this information in a cell? For example as simple as =ENVIRON('Use...

  10. vba - How to add default signature in Outlook - Stack Overflow

    54 I am writing a VBA script in Access that creates and auto-populates a few dozen emails. It's been smooth coding so far, but I'm new to Outlook. After creating the mailitem object, how do I add the …