Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Delete an autostart Sub with code

Hi, firstly is it possible to delete an autostart sub routine with code,
if it is possible can you help me with some code.

Les Stout

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Delete an autostart Sub with code

Hi
have a look at:
http://www.cpearson.com/excel/vbe.htm

--
Regards
Frank Kabel
Frankfurt, Germany


Tempy wrote:
Hi, firstly is it possible to delete an autostart sub routine with
code, if it is possible can you help me with some code.

Les Stout

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Delete an autostart Sub with code

Depends what version you are using. You can with 97, but not later.

"Tempy" wrote:

Hi, firstly is it possible to delete an autostart sub routine with code,
if it is possible can you help me with some code.

Les Stout

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Delete an autostart Sub with code

A better thought would be to ask what you are trying to achieve. There may
be a better way.

--
Regards,
Tom Ogilvy

"Tempy" wrote in message
...
Hi, firstly is it possible to delete an autostart sub routine with code,
if it is possible can you help me with some code.

Les Stout

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Delete an autostart Sub with code

Thanks Frank

Les Stout

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 203
Default Delete an autostart Sub with code

Hi Tom,
Thanks for your reply, as the code i got does not work.

I am recieving a spreadsheet created in Germany and it has auto macro's
in it puting in filters etc...
I save this file after removing the headings and groups to use in acces,
but cannot open the file again as then the data get's all messed up by
the auto macro, so i want to remove the auto macro so that i can open it
without any problem.

Les Stout

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Delete an autostart Sub with code

The simplest soltution would be to
Just have the automacro check the state of the the data. If it has been
processed, then exit the sub, otherwise process the data.

--
Regards,
Tom Ogilvy

"Tempy" wrote in message
...
Hi Tom,
Thanks for your reply, as the code i got does not work.

I am recieving a spreadsheet created in Germany and it has auto macro's
in it puting in filters etc...
I save this file after removing the headings and groups to use in acces,
but cannot open the file again as then the data get's all messed up by
the auto macro, so i want to remove the auto macro so that i can open it
without any problem.

Les Stout

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!



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
Autostart Macro McCloudK Excel Discussion (Misc queries) 5 November 22nd 07 09:38 PM
Autostart Alias Excel Discussion (Misc queries) 2 December 8th 05 02:43 AM
Autostart syale Excel Programming 1 January 29th 04 02:07 AM
VBA code delete code but ask for password and unlock VBA protection WashoeJeff Excel Programming 0 January 27th 04 07:07 AM
VBA code to delete VBA code in another Workbook Chip Pearson Excel Programming 0 September 15th 03 03:54 PM


All times are GMT +1. The time now is 01:12 PM.

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"