LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default Security and working with VBComponents

My macro fails at this code:

With WB.VBProject.VBComponents(2).CodeModule
..DeleteLines 1, .CountOfLines
End With

In my macro security, I do not have the "Trust access to visual basic
project" checkbox checked. But even if that is the right thing to do, can
anyone tell me what this line of code is doing? Is it deleting the VB code
from the workbook "WB"?

Thanks,

Keith
 
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
Working with social security numbers Andre F Excel Discussion (Misc queries) 4 February 24th 10 10:31 PM
VBComponents question Frederick Chow Excel Programming 2 March 20th 06 07:18 PM
Links between VBComponents and Sheets 3 Paul Excel Programming 1 August 5th 04 04:38 PM
Links between VBComponents and Sheets 2 Paul Excel Programming 1 August 5th 04 04:59 AM
Links between VBcomponents and Sheets Bernie Deitrick Excel Programming 1 August 4th 04 07:19 PM


All times are GMT +1. The time now is 05:02 PM.

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

About Us

"It's about Microsoft Excel"