Excel Macros Question.  | |
October 9th, 2003, 03:32 PM
|
#1 (permalink)
| | Member
Join Date: Sep 2002
Posts: 43
|
Hey peope of the techimo community.
Quick question for you VBA gurus. I just got done with a Visual Basic class, and I am wanting to utilize my new found skills.
I know some of you may be shocked by the mere simplicity of the question but, got to start somewhere.
Ok, I'll quit stalling.
When you create a Macro for an excel spreadsheet, i.e
An auto run sub routine.
How do you keep the Macro enabled when you e-mail it to somebody?
Thanks, |
| |
October 9th, 2003, 04:05 PM
|
#2 (permalink)
| | MR Meek and Mild
Join Date: Mar 2002 Location: almost Virginia
Posts: 5,115
| AFAIK The macro is enabled no matter the way you send it.
Of course there are some coputers which maintain that macro protection junk. That will have to be turned off or set to prompt the user to bring in the macro. AFAIK there is no way for you to override this from the macro or that would defeat the protection value.
Sooooo, in the case where they have their machine set to full protection and they are not allowed to turn down the protection level then you are probably up the creek.
If their protection is just causing the auto run to malfunction you can always default to having a button or event activate your macro. I usually use the button method. |
| |
October 9th, 2003, 06:11 PM
|
#3 (permalink)
| | Member
Join Date: Sep 2002
Posts: 43
|
Hey,'  ' thanks for the reply
I'm just now getting my feet wet with this VBA stuff. I didn't realize these kind of utilites were out there.
Do you know of any good beginner books or websites?
Thanks again. |
| |
October 9th, 2003, 06:36 PM
|
#4 (permalink)
| | Senior Member
Join Date: Oct 2001 Location: New Hampshire, USA
Posts: 641
|
I know you are eager to start using VBA now that you finished your VB class.
Perhaps you should take a look at MS Access. Within MS Access you can start using forms, setting commands at run time and design time, pull reports and do all of this with command buttons, combo boxes, list boxes etc.
When you start always remember that VBA for MS Access is not the same as VBA for Excel, Word, Power Point etc. Start by investigating the docmd. method in MS Access help files.
Hope this gives you something to sink your teeth into even if you don't have a full copy of VB. |
| |
October 9th, 2003, 09:32 PM
|
#5 (permalink)
| | Member
Join Date: Sep 2002
Posts: 43
|
I appreciate your input, I just got a book(Microsoft Access 2002 Visual Basic for Applications). It was cheap.
Kind of a bummer to find out that VBA is different with Access. Not so much that I hate using access, but having to learn the syntax.
Oh well, time to dive in.
Thanks again. |
| |
October 10th, 2003, 12:57 PM
|
#6 (permalink)
| | MR Meek and Mild
Join Date: Mar 2002 Location: almost Virginia
Posts: 5,115
| |
| |
November 14th, 2003, 11:41 PM
|
#7 (permalink)
| | Member
Join Date: Oct 2003 Location: In the middle....
Posts: 161
|
Didn't get what MS offive app you are leaning toward, but here's an Excel-lent resource for Excel..... www.MrExcel.com
-Dave- |
| | | Thread Tools | Search this Thread | | | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |