for i

  1. J

    VBA - loop - if cell cotains then .textocolumns

    Hi all I am having trouble with combining the .textotocolumn function with if statements. The posts I have found all have fixed/specified ranges such as destination cell A1 and range A:A. My data insn't always imported the same way. Both the columns and the format varies which is why I would...
  2. P

    Is 'For Each' and 'For i = 1 to n' work in different ways?

    Data: C1: 3 B2: 2 D2: 2 A3: 1 E3: 1 B4: 2 D4: 2 c3: 3 Sub mac() 'MsgBox Selection.Cells.Count For Each cell In Selection.Cells MsgBox cell.Address Next cell End Sub Sub mac1() 'MsgBox Selection.Cells.Count For i = 1 To Selection.Cells.Count MsgBox Selection.Cells(i).Address Next i End Sub
  3. P

    what am i doing wrong???

    Hi, i cant figure out what i am doing wrong. Trying to look at a range and test if date value in cell is greater than date value in another cell, if so then enter text in another cell, then go to the next cell and perform the same test, do this till the last row of data in that column. But when...

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