Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default unlock and lock VBAProject


Hi All,

I am looking for a code that when the macro is activated it firs
unlocks the VBAProject then "does it thing" and when it's finishe
locks the VBAProject again?

Please help :)

Lenn

--
Lenny_82
-----------------------------------------------------------------------
Lenny_821's Profile: http://www.excelforum.com/member.php...fo&userid=1517
View this thread: http://www.excelforum.com/showthread.php?threadid=27556

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 292
Default unlock and lock VBAProject

Hi Lenny

There are no objects or methods for that, so you'd need a "sendkeys"
solution. Search Google for samples. "Sendkeys" is not considered as
reliable, so it may or may not work.

HTH. Best wishes Harald

"Lenny_821" skrev i melding
...

Hi All,

I am looking for a code that when the macro is activated it first
unlocks the VBAProject then "does it thing" and when it's finished
locks the VBAProject again?

Please help :)

Lenny


--
Lenny_821
------------------------------------------------------------------------
Lenny_821's Profile:

http://www.excelforum.com/member.php...o&userid=15179
View this thread: http://www.excelforum.com/showthread...hreadid=275560



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default unlock and lock VBAProject

Lenny,
Why does it need to unlock the project ?

NickHk

"Lenny_821" wrote in message
...

Hi All,

I am looking for a code that when the macro is activated it first
unlocks the VBAProject then "does it thing" and when it's finished
locks the VBAProject again?

Please help :)

Lenny


--
Lenny_821
------------------------------------------------------------------------
Lenny_821's Profile:

http://www.excelforum.com/member.php...o&userid=15179
View this thread: http://www.excelforum.com/showthread...hreadid=275560



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lock/Unlock cells BFife Excel Worksheet Functions 2 October 25th 06 03:20 PM
Problem with File lock/unlock Slim Excel Discussion (Misc queries) 2 March 25th 05 09:45 AM
Lock and Unlock cells using VBA Peter Excel Discussion (Misc queries) 1 January 29th 05 02:00 PM
Lock/Unlock problem Jim[_34_] Excel Programming 3 January 17th 04 05:36 PM
Lock / Unlock Cell Terence Excel Programming 1 September 30th 03 02:44 PM


All times are GMT +1. The time now is 11:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"