PC Review


Reply
Thread Tools Rate Thread

How to Delete VBS code via VBA

 
 
LetMeDoIt
Guest
Posts: n/a
 
      24th Aug 2007
Greetings,
I am running some macros that copies the current excel file to another
based on a certain condition. I would like to also delete the VBA
code from the copied file.

Can anyone point me to the correct call?

Any help is greatly appreciated.

(from microsoft.public.excel.programming )
regards.

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      24th Aug 2007
Depending on the security setting that each user has chosen (and it's the user's
security setting--not something you can change), you may be able to use Chip
Pearson's notes here:

http://cpearson.com/excel/vbe.htm

LetMeDoIt wrote:
>
> Greetings,
> I am running some macros that copies the current excel file to another
> based on a certain condition. I would like to also delete the VBA
> code from the copied file.
>
> Can anyone point me to the correct call?
>
> Any help is greatly appreciated.
>
> (from microsoft.public.excel.programming )
> regards.


--

Dave Peterson
 
Reply With Quote
 
LetMeDoIt
Guest
Posts: n/a
 
      26th Aug 2007
thank you. I ended up by rewriting the code.
regards.

On Aug 24, 6:12 pm, Dave Peterson <peter...@verizonXSPAM.net> wrote:
> Depending on the security setting that each user has chosen (and it's the user's
> security setting--not something you can change), you may be able to use Chip
> Pearson's notes here:
>
> http://cpearson.com/excel/vbe.htm
>
> LetMeDoIt wrote:
>
> > Greetings,
> > I am running some macros that copies the current excel file to another
> > based on a certain condition. I would like to alsodeletetheVBA
> >codefrom the copied file.

>
> > Can anyone point me to the correct call?

>
> > Any help is greatly appreciated.

>
> > (from microsoft.public.excel.programming )
> > regards.

>
> --
>
> Dave Peterson



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
#delete after code based delete =?Utf-8?B?QnJ1Y2U=?= Microsoft Access Form Coding 2 8th Aug 2007 02:20 AM
Will deleting a Form delete attached code? AND How to see ALL code in dB ? Mel Microsoft Access 2 30th Apr 2007 08:25 PM
Delete data in a linked Excel sheet using Access code or seql delete Rocky Microsoft Access External Data 9 26th Jun 2005 12:42 AM
code to delete a user/ code to move users into and out of groups =?Utf-8?B?dHc=?= Microsoft Access Security 11 30th May 2005 06:59 AM
VBA code delete code but ask for password and unlock VBA protection WashoeJeff Microsoft Excel Programming 0 27th Jan 2004 07:07 AM


Features
 

Advertising
 

Newsgroups
 


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