Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Eqa Eqa is offline
external usenet poster
 
Posts: 52
Default How do I record a Macro that can be used on any spreadsheet?

I am unable find and open something called "Workbook start up folder" If I
record a macro in this does it allow me to use the macro for any future
spreadsheets with the same layout and headings?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default How do I record a Macro that can be used on any spreadsheet?

It is the XLSTART folder (may be XLSTART10 or XLSTART11).

Since spreads in here are always loaded, your subs are available.
--
Gary's Student
gsnu200703


"Eqa" wrote:

I am unable find and open something called "Workbook start up folder" If I
record a macro in this does it allow me to use the macro for any future
spreadsheets with the same layout and headings?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default How do I record a Macro that can be used on any spreadsheet?

In the VBIDE immediate window use

?Application.StarupPath

to get the name of the directory.

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Eqa" wrote in message
...
I am unable find and open something called "Workbook start up folder" If I
record a macro in this does it allow me to use the macro for any future
spreadsheets with the same layout and headings?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default How do I record a Macro that can be used on any spreadsheet?

?Application.StarTupPath

(for the want of a T, the war was lost???????)

Bob Phillips wrote:

In the VBIDE immediate window use

?Application.StarupPath

to get the name of the directory.

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Eqa" wrote in message
...
I am unable find and open something called "Workbook start up folder" If I
record a macro in this does it allow me to use the macro for any future
spreadsheets with the same layout and headings?


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do I record a Macro that can be used on any spreadsheet?

I am taking a different tack on this question.

When you go to ToolsMacroRecord New Macro a dialog box will open to name the
macro.

Also where to store it.

Select "Personal Macro Workbook" to record to.

This will record the macro into Personal.xls which is stored by Excel in your
XLSTART folder.


Gord Dibben MS Excel MVP

On Fri, 2 Feb 2007 21:14:00 -0800, Eqa wrote:

I am unable find and open something called "Workbook start up folder" If I
record a macro in this does it allow me to use the macro for any future
spreadsheets with the same layout and headings?


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
Macro hot button in Spreadsheet watchtower Excel Worksheet Functions 3 February 2nd 07 05:27 PM
Appending data from one spreadsheet to another using a macro DebP Excel Discussion (Misc queries) 3 December 1st 05 03:11 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
How do I stop macro alerts for a spreadsheet with no macros in it DKS044 Excel Discussion (Misc queries) 1 June 23rd 05 03:53 PM
Record Macro Relative does not work? lbbss Excel Discussion (Misc queries) 3 December 13th 04 08:43 PM


All times are GMT +1. The time now is 08:36 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"