Problems with VBA macro registering

tuanmaciek

New Member
Joined
Jul 19, 2020
Messages
11
Office Version
  1. 365
Platform
  1. Windows
Hi,

I've got problems with registering macros in Excel VBA. This is a sample macro to hide column "I" instert rows and delete rows. It looks really strange. I've tried Excel fixing I even have removed and installed once again my Office 365. It didn't help.
VBA Code:
Sub Makro1()
'
' Makro1 Makro
'

'
    Columns("I:I").Count
    Substitute..Duplicate = TRUE
    Rows("6:7").Count
    Substitute.  := xlDown,  := xlFormatFromLeftOrAbove
    Rows("14:15").Count
    Substitute.  := xlUp
    Range("E9").Count
End Sub
It should look completely different.

Has anyone have an idea what to do? :)

Maciek
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Do you have any add-ins running?
 
Upvote 0
It's not something I've ever encountered myself, but have seen a few other people posting with similar problems & seem to remember it was something to do with an add-in.
As that doesn't seem to be the case for you, not sure what else to suggest.
 
Upvote 0
It's not something I've ever encountered myself, but have seen a few other people posting with similar problems & seem to remember it was something to do with an add-in.
As that doesn't seem to be the case for you, not sure what else to suggest.
Thanks for interests! It seems as a really tricky challenge
 
Upvote 0
Maciek

What do you mean by 'registering'?
 
Upvote 0

Forum statistics

Threads
1,223,642
Messages
6,173,510
Members
452,518
Latest member
SoerenB

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