Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Trust Access to Visual Basic Project
Hello, Is it possible to do something like this through a code: Code ------------------- Sub Farah() If 'Trust to Visual Basic Project' is Already Checked Then ' Do certain action (i will mention my code here) Otherwise if it is not checked, Then ' do the following Application.SendKeys "%T" Application.SendKeys "M" Application.SendKeys "S", True Application.SendKeys "^{PGDN}" Application.SendKeys "{TAB}" Application.SendKeys "{TAB}" Application.SendKeys "{TAB}" Application.SendKeys "{TAB}" Application.SendKeys "{TAB}" Application.SendKeys " ", True Application.SendKeys "~", True End Sub ------------------- Thank you Farah -- Fara ----------------------------------------------------------------------- Farah's Profile: http://www.excelforum.com/member.php...fo&userid=2777 View this thread: http://www.excelforum.com/showthread.php?threadid=48278 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Trust access to visual basic project in XP systems | Excel Discussion (Misc queries) | |||
Activate check "Trust access to Visual Basic " in Excel | New Users to Excel | |||
Trust access to visual basic project greyed out | Excel Discussion (Misc queries) | |||
This option(Trust access to visual basic project ) is not active . | Excel Programming | |||
Registry key for "Trust access to Visual Basic project" | Excel Programming |