ws2.cellsx

  1. D

    setfocus question

    I am not sure what is happening with my code. I have a very basic userform setup that will allow me to enter a SKU number, hit enter and it will add 1 to the current stock level. It is then supposed to reset the form and allow me to enter another item. I have set the code up so that it...
  2. S

    VBA sum up values

    Hi all, <colgroup><col><col><col></colgroup><tbody> Costs Costs 2 Total Costs €15,00 €0,00 </tbody> I want to adjust my macro so it adds up the two costs in the totcal costs area. This has to be done fot a lot of rows. In between the rows in this column there are empty spaces. I made this...
  3. S

    VBA Object variable or With block not set

    Hi, When I try this the red line gives the error: object variable or With block not set. Can someone explain where I go wrong? Thanks in advance! Dim tabel As String tabel = Range("A1").Value For x = 1 To 1000 If ws2.Cells(x, 1) = tabel Then ws2.Cells(x, 1).Select End If Next x

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