cheers...most appreciated
cheers...most appreciated
drexcel?
Can you post the URL, or has MrExcel been awarded a doctorate?
Open the Control Toolbox Menu (View, Toolbars, Control Box). Then click on the Design Mode icon. Right click on the commandbutton you are wanting to remove and when the option box appears, select Cut.
Ron
Before you criticize someone, you should walk a mile in their shoes. That way, when you criticize them, you're a mile away and you have their shoes.
Thankyou - another glass ceiling removed.Originally Posted by CaptRon
I promoted him as I was so happy with the service.Originally Posted by Norie
Gosh, does that mean we will be generals soon?
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
If my increasingly pathetic questions keep getting resolved in the way they are at the moment and I'll vote for this forum at the next election.Originally Posted by xld
Tee hee, just when I'd thought I had cracked it...
I have now password protected the VBproject (so that normal users "shouldn't" see the code).
Of course, when the macro comes to export the code...kablaamm, it can't.
Must admit, haven't searched extensively yet but (and assuming I don't do this through the userinterface tag as per one of my other threads) how do I unprotect the VBproject using the VB code (and then reprotect it after I've finished exporting)?
http://www.ozgrid.com/forum/showthread.php?t=23541
Own question answered
Question: do you use the Email macro in the original workbook?
Regards,
Rory
Microsoft MVP - Excel
Been thinking along similar lines. I don't need the macro in the original workbook - it's just a convenient place to store and edit.Originally Posted by rory
Could I just store the email macro in a .bas file outside of Excel?
Does Excel recognise and open .bas files?
I was thinking more of using a template file for your first macro. The template can contain the button and code to run the Email macro. Much easier than fiddling with VBProjects, which assumes access to the Project is trusted.
Regards,
Rory
Microsoft MVP - Excel
Maybe thinking too far ahead here, but macro is now in .bas file is my current directory (I can open it in Wordpad).
Ahem...can I protect it from view?
Hmm, will have to investigate template files and their affect on the use of the original file (which is a file used for administration).Originally Posted by rory
Cheers
You just create a new file based on the template, populate it with the data (instead of creating a new sheet in your current workbook and populating that), then save it somewhere. You can use Windows security to prevent people viewing any type of file.
Regards,
Rory
Microsoft MVP - Excel