About 2,140,000 results
Open links in new tab
  1. How do ActiveSheet, ActiveWorkbook.ActiveSheet and Application ...

    Jul 11, 2017 · Important note: When alone and written in the code module ThisWorkbook of some workbook, ActiveSheet differs from both Application.ActiveSheet and from …

  2. How to activate a specific worksheet in Excel? - Stack Overflow

    Oct 25, 2010 · I just need to activate a certain worksheet. I have a string variable that keeps the name of the worksheet.

  3. excel - VBA changing active workbook - Stack Overflow

    Mar 28, 2015 · 5 I have a spreadsheet where in the VBA it goes off opening other spreadsheets and temporarily setting these to the active worksheet. However, I have a loop and at the end …

  4. How to declare an Active Worksheet in a variable? - Stack Overflow

    My code opens a new worksheet with the data in the Active sheet, so I need a variable to hold my place in the currently active worksheet. Any idea why this isn't working correctly?

  5. python 2.7 - Set the active sheet with openpyxl - Stack Overflow

    The Manipulating a workbook in memory tutorial is the place to start and under the answer I have used this tutorial to demonstrate there is no active sheet name, it is actually the sheet at the …

  6. Get a worksheet name using Excel VBA - Stack Overflow

    I would like to create an user-defined function in Excel that can return the current worksheet. I could use the sheetname = ActiveSheet.Name But the problem with this is, it works and …

  7. How to calculate only the active worksheet in Excel?

    Jun 26, 2015 · Worksheets("Sheet1").Calculate It's better practise to avoid using activesheet if possible in your code (there's only rarely a need for it), so try and stick to the second two.

  8. Run an Excel VBA script on only the active worksheet and not the …

    I am using a VBA script to essentially find/replace. Right now when I run the VBA script it applies to all open sheets in the workbook. I wish for the VBA script to only apply in the active sheet a...

  9. Run VBA Code on Active Worksheet Only - Not All Worksheets

    Jul 22, 2014 · The code below runs fast and as expected when used in a workbook with a single worksheet. The code below takes forever to execute when used in a workbook that contains …

  10. How to change active worksheet in OpenPyXL with Python?

    Aug 16, 2023 · The "active" worksheet is just convenient when working with a workbook in both openpyxl and Excel, where "active" is the worksheet in focus when the file is saved. It's almost …