Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Standalone Macro

Hello All,
I'm trying to put together a macro that will clean a spreadsheets prior to
it being saved in a CSV file format. I need to remove the £ % , from the
spreadsheet.

My problem is that I want to access the spreadsheet from my spreadsheet
rather than adding the macro to each of the spreadsheets I'm dealing with.

Hope this makes sense.

Thanks
David



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Standalone Macro

Put the macro in the Personal.xls file, and it will be generally available.

--
HTH

Bob Phillips

"David Goodall" wrote in message
...
Hello All,
I'm trying to put together a macro that will clean a spreadsheets prior to
it being saved in a CSV file format. I need to remove the £ % , from the
spreadsheet.

My problem is that I want to access the spreadsheet from my spreadsheet
rather than adding the macro to each of the spreadsheets I'm dealing with.

Hope this makes sense.

Thanks
David





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Standalone Macro

In your macro, use references/qualifiers like
ActiveSheet
ActiveWorkbook
ActiveCell

Then the macro will work on the sheet that has the focus. It doesn't matter
that the code is located in a different workbook (as long as the workbook
with the code is also open).

--
Regards,
Tom Ogilvy


"David Goodall" wrote in message
...
Hello All,
I'm trying to put together a macro that will clean a spreadsheets prior to
it being saved in a CSV file format. I need to remove the £ % , from the
spreadsheet.

My problem is that I want to access the spreadsheet from my spreadsheet
rather than adding the macro to each of the spreadsheets I'm dealing with.

Hope this makes sense.

Thanks
David





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
Can I make a spreadsheet a standalone so I can sell my work Scottish Excel Discussion (Misc queries) 0 May 1st 08 03:46 PM
How to purchase and install Excel 2007 standalone? rtpninja Setting up and Configuration of Excel 0 August 8th 07 07:56 PM
create excel based standalone application Pete_R Excel Discussion (Misc queries) 0 December 4th 05 11:59 PM
is it possible to convert excel workbook into a standalone applic. totally melting Excel Discussion (Misc queries) 0 January 22nd 05 08:59 PM
create a standalone app from workbook Mark Stephens[_2_] Excel Programming 1 September 22nd 04 03:17 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"