• 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.

Worksheet_onload : Need VBA

Istiyak

Member
Namaste Team,


I need VBA which do something on given topics.


1. Set location on SHEET1 and CELL A1.

2. Auto enable mecro

3. Auto Enable Design mode of Form COntrols.


So user can start work directly, they don't have to do anything else


Any idea plz let me know.


Regards

Istiyak
 
As xld said, you can't auto-enable the macros due to security reasons. Similarly, you can't set it to be in "Design mode". (Incidentally, macros themselves don't care about design mode. You can add buttons via VB w/o being in "Design mode") To start on Sheet 1, cell A1 always, you can put this in the ThisWorkbook module.

[pre]
Code:
Private Sub Workbook_Open()
Worksheets("Sheet1").Range("A1").Select
End Sub
[/pre]
 
HI Luke & Xld


Thanks buddy for your help. some problems have solved but some is steel there.


I have entered 1 Calender Control with ( visible = False ) property....


While i m opening this excel sheet in another place where design mode turn off. it shows that Calendar directly to Viewer which i don't want..


Any suggestion...


Regards

Istiyak
 
Back
Top