selection.clearcontents

  1. A

    macro record it doeosn't paste on the next row

    Hello, Hi, how to copy data from one sheet to a table on an other sheet using macro records , i faced a problem when i click the button it's working good but if i try to add other data it's overwrite the first one(it doesn't copy the data on the next row). thank you in advance This is the...
  2. B

    'Subscript out of range' problem when calling a sub from a different sheet

    Dear Experts, Unfortunately I'm not good at vba coding and I cannot figure out why the last Call in the following code does not work and gives a "Runtime error '9' - Subscript out of range" error. The macro to be called runs perfectly when started manually. Here is the main code: Sub...
  3. R

    msgbox "X" button

    Greeting, tried searching for this, but I can't find the answer - probably because I am not asking the question correctly... What is the name for the little "x" close button in the top right of a msgbox? Just ran across something that either I have never noticed before or perhaps I just have...
  4. F

    Run a macro automatically when there is a data in a certain Cell

    Hello, I don't know how to use a macro. I am more on a formula type of guy. Can you please help me? I have a macro in place in my file but I need it to run automatically when a data is encoded or paste in a certain Cell. I have made the macro using the record button. For it to work is for me to...
  5. B

    Macro to Clear Data in selected cells

    Getting Errors when I run the code below. If i different data in the cells from when I recorded the macro I get errors. Sub Clear_Sheet() ' ' Clear_Sheet Macro ' ' Range("A5:A39,C5:H39,K5:P39,T5:AA39,K1:O1,F1:I1,F2:I2,Z2").Select Range("Z2").Activate ActiveWindow.SmallScroll...

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