Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Hide VB Source Code

You can protect your code by using the passwors protection...

Click on "Tools,VBAProject Properties" in your Visual Basic editor, then
click the protection tab.

"AvalonDave" wrote in message
...
Hi,


Is there any way to hide the VB source code to my macro I create in an

excel
workbook so i can prevent someone from stealing my code?


Thanks,

AvalonDave



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Hide VB Source Code

I have protected the view of a macro this way, but I am
having problems when another file requests this macro to
be run. Error 1004 Range of Object.

The syntax is:
Application.Run "'FileName.xls'!Import"

Is this protection causing my problem? I know the syntax
works because it did before.

Thanks,

Travis


-----Original Message-----
You can protect your code by using the passwors

protection...

Click on "Tools,VBAProject Properties" in your Visual

Basic editor, then
click the protection tab.

"AvalonDave"

wrote in message
news:CDD5103B-6245-4876-B4A2-

...
Hi,


Is there any way to hide the VB source code to my

macro I create in an
excel
workbook so i can prevent someone from stealing my

code?


Thanks,

AvalonDave



.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Hide VB Source Code

I don't think so. I bet there's something in the Import procedure that's
causing the error.

If you change the sub Import to a simple msgbox, I bet it works.

I'd unlock the project, and step through the code.

Travis wrote:

I have protected the view of a macro this way, but I am
having problems when another file requests this macro to
be run. Error 1004 Range of Object.

The syntax is:
Application.Run "'FileName.xls'!Import"

Is this protection causing my problem? I know the syntax
works because it did before.

Thanks,

Travis

-----Original Message-----
You can protect your code by using the passwors

protection...

Click on "Tools,VBAProject Properties" in your Visual

Basic editor, then
click the protection tab.

"AvalonDave"

wrote in message
news:CDD5103B-6245-4876-B4A2-

...
Hi,


Is there any way to hide the VB source code to my

macro I create in an
excel
workbook so i can prevent someone from stealing my

code?


Thanks,

AvalonDave



.


--

Dave Peterson

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
Hide VB Source Code JulieD Excel Programming 1 August 23rd 04 04:55 PM
SOURCE CODE Vicencia Vitus Excel Programming 1 April 30th 04 10:50 AM
VBA source code cornishbloke[_4_] Excel Programming 2 December 14th 03 04:48 PM
query source code Mel[_7_] Excel Programming 1 August 29th 03 11:24 PM
source code for copyright Steve[_31_] Excel Programming 1 August 9th 03 11:10 PM


All times are GMT +1. The time now is 07:54 AM.

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"