thisworkbook.activate

  1. B

    Run Time Error

    Afternoon Is there a work around to the below seems to work well in other scripts. The error occurs at the ThisWorkbook.Activate Thanks All... Dim filepath As StringSet wb2 = Workbooks.Add ThisWorkbook.Activate ActiveSheet.Copy before:=wb2.Sheets(1) wb2.Activate filepath =...
  2. S

    Select all the cells of a sheet via VBA

    Hello, i am very new to VBA coding and trying to select all the cells in below mentioned code."cells.select" But it's giving error"Run time error 1004" could you pl suggest the solution. Thanks!! Sub copyfromallopenworkbookstooneworkbook() Dim wb As Workbook, ws As Worksheet, j As Long j =...

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