Excel 2016 - Run-time error '1004': Unable to set the Top - Microsoft Community


i trying run macro on 1 of files when keep getting "run-time error '1004': unable set top property of window class". not sure issue is, upgraded office 2016 it. when go debug shows below portion , highlights ".top = 5". know how fix this? 

   end with
    range("ab15").select
    activewindow
        .top = 5
        .left = 2.8
    end

<the thread has been moved correct category forum moderator>

i got same error if run code snippet in new file in excel 2010 / 2013 / 2016

so whatever reason is, concept issue of code.

if need further please upload file (maybe anonymous data) on online file hoster www.dropbox.com , post download link here.

macro anonymize data in selected cells can downloaded here:
https://www.dropbox.com/s/rkfxuh85j5wyj9y/modanonymize.bas?dl=1

andreas.



Office / Excel / Microsoft Office Programming / Office 2016



Comments

Popular posts from this blog

Getting ErrorCode: 120018 when trying to access Microsoft account - Microsoft Community

The message was sent to a distribution list ‎(DL)‎ - Microsoft Community

Activation Error 0x8004FE93 - Microsoft Community