Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 454
Default Change Font Colour in VB Q

Is it possible to change the font colour of Text in Excel VB editor
(completely) to white?

This may seem strange but its just a basic way to hide code from eyes
(i.e. create another obstacle) as you can't protect via code the vba


Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Change Font Colour in VB Q

You could change font colour in your own VBE, Tools Options General and
perhaps with an appropriate addin in user's too (though I'd regard that as a
virus!).

You can protect code in your project with a password, right click the
project name properties protection. Whilst, as I gather, that wouldn't
deter many round here it would probably hide code from most casual users.

Regard,
Peter T


"Sean" wrote in message
oups.com...
Is it possible to change the font colour of Text in Excel VB editor
(completely) to white?

This may seem strange but its just a basic way to hide code from eyes
(i.e. create another obstacle) as you can't protect via code the vba


Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 454
Default Change Font Colour in VB Q

Thanks Peter

I have code that inserts a module in ThisWorkbook, which is then
e-mailed out. What I would like is if this code (created via code) is
then changed to white font within the ThisWorkbook. I have no way of
protecting the vba via code as the module itself creates a dummy file
to be e-mailed out and as I understand from the NG's you can't protect
vba via code, my alternative is to just create a 'tiny' obstacle for
the user if they get nosey


Peter T wrote:
You could change font colour in your own VBE, Tools Options General and
perhaps with an appropriate addin in user's too (though I'd regard that as a
virus!).

You can protect code in your project with a password, right click the
project name properties protection. Whilst, as I gather, that wouldn't
deter many round here it would probably hide code from most casual users.

Regard,
Peter T


"Sean" wrote in message
oups.com...
Is it possible to change the font colour of Text in Excel VB editor
(completely) to white?

This may seem strange but its just a basic way to hide code from eyes
(i.e. create another obstacle) as you can't protect via code the vba


Thanks


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Change Font Colour in VB Q

What I would like is if this code (created via code) is
then changed to white font within the ThisWorkbook


Not possible, you'd need to program to user's vbe or registry (please don't
try!).

as I understand from the NG's you can't protect
vba via code,


You could search this group for something like "Bill-Manville lock
vbproject" which uses Sendkeys. Sendkeys of course is flunky, a while back I
tried to make it more reliable by changing passwords an automated instance
and ensuring the appropriate dialogs and msgbox's were on top and active at
the right times, but it's still SendKeys!

Regards,
Peter T

"Sean" wrote in message
ups.com...
Thanks Peter

I have code that inserts a module in ThisWorkbook, which is then
e-mailed out. What I would like is if this code (created via code) is
then changed to white font within the ThisWorkbook. I have no way of
protecting the vba via code as the module itself creates a dummy file
to be e-mailed out and as I understand from the NG's you can't protect
vba via code, my alternative is to just create a 'tiny' obstacle for
the user if they get nosey


Peter T wrote:
You could change font colour in your own VBE, Tools Options General

and
perhaps with an appropriate addin in user's too (though I'd regard that

as a
virus!).

You can protect code in your project with a password, right click the
project name properties protection. Whilst, as I gather, that

wouldn't
deter many round here it would probably hide code from most casual

users.

Regard,
Peter T


"Sean" wrote in message
oups.com...
Is it possible to change the font colour of Text in Excel VB editor
(completely) to white?

This may seem strange but its just a basic way to hide code from eyes
(i.e. create another obstacle) as you can't protect via code the vba


Thanks




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 454
Default Change Font Colour in VB Q

Thanks Peter, I think I'll pass up on the idea!


Peter T wrote:

What I would like is if this code (created via code) is
then changed to white font within the ThisWorkbook


Not possible, you'd need to program to user's vbe or registry (please don't
try!).

as I understand from the NG's you can't protect
vba via code,


You could search this group for something like "Bill-Manville lock
vbproject" which uses Sendkeys. Sendkeys of course is flunky, a while back I
tried to make it more reliable by changing passwords an automated instance
and ensuring the appropriate dialogs and msgbox's were on top and active at
the right times, but it's still SendKeys!

Regards,
Peter T

"Sean" wrote in message
ups.com...
Thanks Peter

I have code that inserts a module in ThisWorkbook, which is then
e-mailed out. What I would like is if this code (created via code) is
then changed to white font within the ThisWorkbook. I have no way of
protecting the vba via code as the module itself creates a dummy file
to be e-mailed out and as I understand from the NG's you can't protect
vba via code, my alternative is to just create a 'tiny' obstacle for
the user if they get nosey


Peter T wrote:
You could change font colour in your own VBE, Tools Options General

and
perhaps with an appropriate addin in user's too (though I'd regard that

as a
virus!).

You can protect code in your project with a password, right click the
project name properties protection. Whilst, as I gather, that

wouldn't
deter many round here it would probably hide code from most casual

users.

Regard,
Peter T


"Sean" wrote in message
oups.com...
Is it possible to change the font colour of Text in Excel VB editor
(completely) to white?

This may seem strange but its just a basic way to hide code from eyes
(i.e. create another obstacle) as you can't protect via code the vba


Thanks





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Change Font Colour in VB Q

Sean,
There are VBA code obfuscators. Here's one with some discussion:
http://www.dailydoseofexcel.com/arch...visible-basic/

NickHK

"Sean" wrote in message
ups.com...
Thanks Peter

I have code that inserts a module in ThisWorkbook, which is then
e-mailed out. What I would like is if this code (created via code) is
then changed to white font within the ThisWorkbook. I have no way of
protecting the vba via code as the module itself creates a dummy file
to be e-mailed out and as I understand from the NG's you can't protect
vba via code, my alternative is to just create a 'tiny' obstacle for
the user if they get nosey


Peter T wrote:
You could change font colour in your own VBE, Tools Options General

and
perhaps with an appropriate addin in user's too (though I'd regard that

as a
virus!).

You can protect code in your project with a password, right click the
project name properties protection. Whilst, as I gather, that

wouldn't
deter many round here it would probably hide code from most casual

users.

Regard,
Peter T


"Sean" wrote in message
oups.com...
Is it possible to change the font colour of Text in Excel VB editor
(completely) to white?

This may seem strange but its just a basic way to hide code from eyes
(i.e. create another obstacle) as you can't protect via code the vba


Thanks




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
Change font colour Min Excel Discussion (Misc queries) 9 February 18th 10 01:50 AM
FONT COLOUR CHANGE natasha90 Excel Worksheet Functions 3 July 11th 08 09:19 PM
Change font colour Stefi Excel Discussion (Misc queries) 1 March 28th 07 01:54 AM
Change font colour [email protected] Excel Discussion (Misc queries) 3 December 23rd 06 07:07 PM
Change font colour Altec101[_8_] Excel Programming 15 May 30th 06 08:15 PM


All times are GMT +1. The time now is 03:41 AM.

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"