cellsrow

  1. S

    Filling dates from start Date to End date

    Hi guys, I am not able to get this simple code running.. Sub FillDates() Dim datStart As Date Dim datEnd As Date Dim row As Long datStart = Range("E1").value datEnd = Range("E2").value For row = 5 To datEnd - datStart ' Cells(row, 2) = datStart + row -...
  2. G

    Number to Date for multiple columns

    Hi Everyone, Here i am trying to convert multiple columns from numbers to date(Columns are M,N,O) I tried for converting only one column, but couldn't do the same for multiple columns in one Loop. Can anyone suggest me how i can do this....... row = 2 Do While Cells(row, 11).Value <> ""...
  3. W

    Easy Range question

    I'm trying to calculate the slope of 5 points in a rather large data set. I used this bit of code: Set xl = Range(1, 2, 3, 4, 5) Set yl = Range(Cells(row - 5, col - 5), Cells(row, col - 5)) slopel = Application.WorksheetFunction.slope(xl, yl) I'm trying to the set the range as just...
  4. N

    Nested select case

    This was working fine but I added an additional level of case select statements and now I get a 'Case without select' on the 2nd case of the top level Select (in code comments) Thanks for your suggestions. Select Case Cells(row, "AH").Value Case "Y" 'Secondary...
  5. T

    Matching patterns in table - copying to new worksheet

    I am trying to take like patterns in cells of a table and copy them to new worksheet. when the matched pattern occurs i need to append the cell in the new worksheet rather than copy over. then i need the script to move to next cell in the row and look for another matched pattern and do the same...
  6. G

    VBA - Cell Reference Efficiency

    In general, is ActiveCell.Offset(row,col) or Cells(row,col) more efficient in referencing another cell?
  7. Y

    Help with VBA coding

    Hi there, Stuck with an issue for over a week and need someone to point me in the right direction. I recorded a macro to do a advanced filter and copy the data to another sheet. Works great with one drawback! I have over 3000 rows and created Do While Loop to get the values into 2 different...
  8. M

    If cell 1 = "###" then cell 2 = "####" for CurrentRegion

    I'm trying to enter corresponding part numbers, and I keep getting a Type Mismatch error. The part number in column B corresponds to a part number to be entered in column B. I've hard-coded the numbers and included a couple of the loops here. I want it to go through the CurrentRegion because not...
  9. D

    Match multi criteria

    Hello, can anyone tell me why my code does not work? Sub Cross() Dim nombre As Range Dim rut As Range Dim marca As Range Dim modelo As Range Dim patente As Range Dim motor As Range Dim row As Integer With Sheets("DTT") Set nombre =...
  10. D

    worksheet.change event not firing for most events

    Hey guys I've got a troublesome spreadsheet where strange things happen when the worksheet.change event is supposed to fire... The worksheet has a large table in it, using Excel's built in table functionality. The event, of course, should always fire when a cell is altered - but in this sheet...

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