select sheet

  1. R

    How to properly use Activate or Select method with multiple workbooks VBA

    Hey party people, I am trying to navigate and read data from specific sheets from multiple workbooks using VBA. When working with a single workbook, I use SheetX.Select often (X = 1, 2, 3... whatever sheet number I'm looking for at the moment) because the tabs change names, move order, or...
  2. T

    Select Workbook and Worksheet in Vlookup Macro

    I have a macro that runs a vlookup. It's tailored not to overwrite cells that already have text in them and only carry over found values to blank cells. At the moment it simply goes looking for these values on another sheet in the same workbook called "Lookup_Sheet". Sub Vlookup44()...
  3. H

    Select sheet from form

    Hi, I have a user form that are supposed to open a worksheet. I use Private Sub CommandButton2_Click() Sheets("Rapport_Linjer").Select Me.Hide End Sub to open the proper sheet, but changes made in this sheet are made in the sheet where the form was opened, although I'm currently seeing...
  4. S

    Selecting vs Activating - VERY newbie

    Hi all, could someone please explain the differences between Selecting a sheet/wb and Activating a sheet/wb? when do you use each one, etc.? Thanks

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...