PC Review


Reply
Thread Tools Rate Thread

Code that executes against any Excel file

 
 
Steve
Guest
Posts: n/a
 
      16th Aug 2007
I was told the following scenario involving Excel ---

-----------
The code that executes is on my computer and it applies itself to the
workbook just downloaded.

I have my various "sort" macros as "all workbook" and I just click ALT-F7 or
Alt F8 which is my shortcut to them.
----------

Code in the first statement is the "sort" macros in the second statement.
Can someone explain what is happening here. Is there a way to put code in
Excel somewhere that will apply itself to any workbook that is opened? What
does it mean for the macros to be "all workbook"? Does ALT-F7 and Alt-F8
actually run code? How is this setup?

Thanks!

Steve


 
Reply With Quote
 
 
 
 
cheesey_toastie
Guest
Posts: n/a
 
      16th Aug 2007
On 16 Aug, 02:26, "Steve" <so...@private.emailaddress> wrote:
> I was told the following scenario involving Excel ---
>
> -----------
> The code that executes is on my computer and it applies itself to the
> workbook just downloaded.
>
> I have my various "sort" macros as "all workbook" and I just click ALT-F7 or
> Alt F8 which is my shortcut to them.
> ----------
>
> Code in the first statement is the "sort" macros in the second statement.
> Can someone explain what is happening here. Is there a way to put code in
> Excel somewhere that will apply itself to any workbook that is opened? What
> does it mean for the macros to be "all workbook"? Does ALT-F7 and Alt-F8
> actually run code? How is this setup?
>
> Thanks!
>
> Steve


I believe you can use a spreadsheet called Personal.xls. I've never
done this myself so you may need to do a little research.

Here are some urls with some info on how to do this.

http://www.personal-computer-tutor.com/personalxls.htm
http://en.allexperts.com/q/Excel-105...l-Macros-9.htm

 
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
Code in Page_Load executes twice David C Microsoft ASP .NET 5 9th Aug 2007 03:17 PM
Code only executes on Step Through Mike Barrett Microsoft Dot NET 6 15th Dec 2005 08:32 PM
Code only executes on Step Through Mike Barrett Microsoft VB .NET 6 15th Dec 2005 08:32 PM
Code only executes when stepping through RD Microsoft Access VBA Modules 4 8th Dec 2005 09:45 PM
My code inexplicably executes while in the IDE Tom Microsoft VB .NET 2 9th Jul 2004 08:40 PM


Features
 

Advertising
 

Newsgroups
 


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