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

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
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,215,837
Messages
6,127,185
Members
449,368
Latest member
JayHo

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