cellsa

  1. NicholasP

    simple code optimization

    I have a macro that takes ~22 seconds to run and ~18 of those seconds are in this piece of code: For A = x To Z Step -1 If Cells(A, 3) = "" And Cells(A, 4) = "" And Cells(A, 5) = "" And Cells(A, 6) = "" And Cells(A, 7) = "" And Cells(A, 8) = "" And Cells(A, 9) = "" And Cells(A, 10) = ""...
  2. A

    VBA: Multiple if conditions with loop

    Dear All, I am writing a macro where i have multiple conditions for getting the data and i am stuck here as it is giving only single output that is "0-1 days"... Please help below is my code : Lastrow1 = Sheets("Rawdata").Range("A" & Rows.Count).End(xlUp).Row For A = 2 To Lastrow1...
  3. K

    Nested For Next Problem

    Hi. I have a collection of data which consists of several items for which I will collect based on the criteria I have specified using the For Next statement. and here is an example of the data : <tbody> A B 1 User ID 2 Jhon A 3 dean B 4 billy B 5 smith A 6 lovely A 7 amber B...
  4. S

    Runtime Error "Type Mismatch"

    Greetings, I am receiving a type mismatch error on the following line. Not sure why this is occurring. Are there limitations on the properties that I can establish within the row and column values? For instance is "A+3" as a row value not acceptable when being compared with an integer...
  5. S

    Object Doesn't support this property or method runtime error

    Greetings, I am receiving the error "Object doesn't support this property or method" on the line below TA.ws.Range("A1").Select This line exists within the code below For Each ws In PA.Worksheets A = ws.Cells(Rows.Count, "A").End(xlUp).Row Do Until A = 2 If Cells(A...
  6. A

    problem on transferring data to another workbook

    let's say here is my sample workbook ("productmovement") <tbody> Product Out Stock Total apple 5 8 3 banana 4 9 5 orange 3 10 7 </tbody> and here is my samlple workbook ("productinventory") <tbody> Product Stock date grapes 10 apple 8 orange 10...
  7. C

    Writing array to excel is slow despite only 2500 rows of data.

    The following sub procedure is one of a few located in my module. Sub writetrans() Sheet3.Activate For A = 2 To UBound(MainArray2) Cells(A, 1) = MainArray2(A, 1) '<-- Date Cells(A, 2) = MainArray2(A, 2) '<-- Description Cells(A, 3) = MainArray2(A...

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