• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

VBA error

vasim

Member
The below code works well in 2007 but throws an error in 2010. The reason I believe is 2010 don't provide the option for "Enable Macro" and stores it in trusted places.


Whats the alternative for this...


In workbook


Private Sub Workbook_Open()

Application.ScreenUpdating = False

Sheet1.Range("A1:Q30").Select 'ERROR MESSAGE POPS UP

ActiveWindow.Zoom = True

[B10].Select

Application.ScreenUpdating = True

End Sub
 
Hi,


Can you please refer the below link.


http://www.addictivetips.com/windows-tips/enable-all-macros-in-excel-2010/


Thanks,

Suresh Kumar S
 
Back
Top