Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default Import macro

I have tried and tried to get a certain macro to work from the Personal
Macro Workbook (PMW). It generates errors. On a lark, I created a module in
the current open workbook and pasted the macro there, and deleted it from
the PMW. The macro runs perfectly there.

Is there a way that I can create a PMW macro that will check to see it such
a macro exists in the current workbook and if it doesn't, access a text file
that contains the mis-behaving macro and paste it into a module in the
current workbook instead?

Gene Augustin

 
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
Excel Import Macro gkarasiewicz Excel Discussion (Misc queries) 5 January 12th 08 06:08 PM
Macro to Import Text Miasha Excel Discussion (Misc queries) 8 August 18th 06 04:30 PM
Import CSV files using Macro Mintz87 New Users to Excel 3 August 29th 05 09:48 PM
import data with macro chris_rip Excel Discussion (Misc queries) 0 July 18th 05 08:40 PM
import data using macro chris_rip Excel Discussion (Misc queries) 0 July 18th 05 08:32 PM


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

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"