Why do I lose data in column after clicking on macro?

kajero52

New Member
Joined
Jan 6, 2020
Messages
3
Office Version
  1. 2007
Platform
  1. Windows
I inserted a macro button to turn filter on or off. After I click on the macro button the word Apex disappears. Why does this happen and how can I prevent it?
 

Attachments

  • BBB.jpg
    BBB.jpg
    63.9 KB · Views: 15

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Impossible to do more than provide a vague guess without seeing the code. If you intend to post code, please copy it, then click vba button on posting toolbar, then paste your code where the cursor would be (in between the code tags you just created). You would do that any time you want someone to troubleshoot your code.

EDIT - in this case the code I refer to is your button click event code.
 
Upvote 0
I will try to this! I am not that well versed in VBA. Thanks for helping!
 
Upvote 0

Forum statistics

Threads
1,215,103
Messages
6,123,112
Members
449,096
Latest member
provoking

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