code error

  1. tlc53

    VBA Code won't run correctly if sheet hidden

    Hi, I have the following module VBA code which saves a report located on a different sheet (sheet80) to a PDF file. I would like to have sheet80 hidden as it's all formulated and the report does not need editing. However, when I run the code on a different sheet, it only works correctly if...
  2. A

    Macro deleting all my data

    <tbody> Hi, I am having trouble with a Macro I created for the purpose of formatting a report. The issue is that when the Macro is executed it eventually deletes everything. The code is the following: Range("B3:B5").Select Selection.Cut Range("A3").Select ActiveSheet.Paste...
  3. 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