About 278,000 results
Open links in new tab
  1. How to dynamically select a range VBA - Stack Overflow

    Jan 25, 2021 · Excel VBA code to select non empty cells However, I have some empty cells in between. In particular, I'm trying to define a range where the first row needs to be excluded, …

  2. Select range in a particular sheet in excel vba - Stack Overflow

    Jul 20, 2013 · Here's an excerpt from Excel 2003 help: "If you use the Select method to select cells, be aware that Select works only on the active worksheet. If you run your Sub procedure …

  3. vba - selecting a range within a range - Stack Overflow

    Aug 19, 2016 · I am using following VBA code (MS Excel 2010) to select a range of cells within a given range, to copy and insert the copied cells back into the source range: The range starts in …

  4. vba - select range in excel macro - Stack Overflow

    Sep 17, 2019 · Not able to select the range clearly in the macro. My data range is B4:N80( data always starts from B4 and it can go upto any cell) so i am creating macro to select this range …

  5. vba - Get User Selected Range - Stack Overflow

    Nov 2, 2010 · How can I get a range of cells selected via user mouse input for further processing using VBA?

  6. 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 + …

  7. Excel VBA - select a dynamic cell range - Stack Overflow

    Aug 22, 2012 · I want to be able to dynamically select a range of cells (the heading row), where the row is 1 but the columns with be for 1 to last column, where "A" is the first Column and …

  8. excel - Select multiple ranges with VBA - Stack Overflow

    Oct 8, 2019 · I need to select multiple ranges in a worksheet to run various VBA code on them. The ranges will always begin on row 84 but the end depends on how far down the data goes. …

  9. VBA: range selection - Stack Overflow

    Nov 3, 2022 · I would like to ask, if I need to select an entire row, start from the 3rd row as a range in VBA, instead of the below line, any better ways to go about it? Many thanks. …

  10. How do I select subrange from a range object in VBA?

    I am stuck at two places till now:- a) I am trying to sort the data, but the function Sort is not working, how do I sort the range object which is the input in ascending order? b) How do I …