findrow

  1. D

    Multiple comboxes

    I have used the following code on a userform for 3 comboboxes, I have 16 similar comboboxes, SSFRID1A, SSFRID1B, SSFRID1C etc. Its there a way to write the code once and use it for each cbox rather that creating a new sub for each. --------------------------------- Sub Fault_ComboBox_SSFRID1A()...
  2. A

    Check if values entered in userform match existing data

    Hi all, I am building a legislation tracker to follow any bills that I manually enter into the spreadsheet. I have two tabs with data - RawData and CleanData. RawData has each instance of a bill; if a bill has progressed through the legislature, I will enter each update as a separate entry. I...
  3. M

    VBA running the same process on a second worksheet

    I am using the following code to remove items from a list on the current sheet and put them on another sheet. These same items exist on neighboring sheets with different names. It works fine for FindRow and SearchRange, but it's not doing anything to FindRow2 and SearchRange2. I'm not getting an...
  4. M

    Source of subscript error (9)?

    In the below code, I'm getting a subscript error on the line in red. Any ideas why this would be? Private Sub OK_Click() Dim x As Long, ERow As Long Dim PINamesArray As Variant Dim size As Long Dim SearchRange As Range Dim FindRow As Long Dim k1 As Worksheet Dim k2 As Worksheet Set k1 =...
  5. A

    To select a range between two cells containing specified text

    Hi All Thank you for your Supporting I have small problem; I copy data between the “Standardization Code: “in single row. The “Standardization Code” part of the sentence I Get below code but thin code not moving next Sub SelectBetween() Dim findrow As Long, findrow2 As Long 'On Error...
  6. E

    Search Excel column from within Access question

    I'm writing some VBA code that should search for certain words in the Address1 field (e.g., "Suite", "Ste", "Apt") then copies the word and what follows it to the Address2 column. I also need it to truncate the Address1 value so that the word and what follows it no longer appears there. For...
  7. R

    Mapping Data From Source Sheet, Where Multiple Criteria is Met

    I'm trying to identify each row in a worksheet, where a certain condition exists, then map information from that row(s), to another worksheet. The below code is giving me a Type Mismatch error at the line in red font. What do I need to correct in this code; or should I be taking a different...
  8. R

    Pulling Values from Multiple Sheets Based on ComboBox Changes

    I'm thoroughly confused as to why this code works sometimes, but not others. What I'm trying to do: The first code has the User select a value from cobo_Nickname (this is working). The code then searches a particular worksheet for that value, and populates the txt_ClientID value, that is in...
  9. C

    Why can't my command button perform two functions

    Hello, I'm a total newbie when it comes to VBA. I've created an ActiveX Control button with the following code: Private Sub Save_Changes_Click() Dim findRow As Long findRow = Application.WorksheetFunction.Match(Range("C3"), ThisWorkbook.Sheets("Patient table").Range("A:A"), 0)...
  10. P

    Error: "The Action won't work on multiple selections"

    Hey Guys, Been having some issues with the piece of code below. Basically I am copying over 1 value from a source sheet into another workbook by using the criteria depicted in the code below. However, about 70% of the time I receive the error of "The Action won't work on multiple selections"...
  11. P

    Error - SpecialCells Property of Range Class

    Hello All, I'm trying to paste some values in a column removing any blanks that are copied with the following code shown below. I figured I could using special cells with xlCellTypeConstants to do so, but keep receiving the error "Unable to get the SpecialCells property of the Range class"...
  12. A

    .Find tweak wanted

    On Error Resume Next With Worksheets(WB) Set findRow = .Range(YrColumn).Find(What:=StrTofind, LookIn:=xlValues) FindLine = findRow.Row Set findRow = Nothing End With On Error GoTo 0 WB= "Sheet1" YrColum = "A:A" StrTofind= "Test" This...
  13. S

    Select multiple ranges between two same words in one column

    Sub SelectmultipleBetween() Sheets("sheet1").Select Dim findrow As Long, findrow2 As Long findrow = Range("B:B").Find("idle").Row findrow2 = Range("B:B").Find("proc", Range("B" & findrow)).Row Range("B" & findrow + 1 & ":B" & findrow2 - 1).Select Selection.Copy...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top