Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Newbie question: Importing modules (.bas) at startup?

I have a .bas file that I use to bold duplicate occurrences in a column.
Works great, but everytime I open a new spreadsheet I have to go to Tools
Macros VB Editor and then File Import File and go find the .bas file.

Is there a way for this .bas file to be loaded into Excel at startup?

Thanks,
JM


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Newbie question: Importing modules (.bas) at startup?

If this is for personal use, you can add the .bas file to your persona
macro storage, and put a commandbutton on the excel menu. Just clic
the button to run the macro whenever you like

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Newbie question: Importing modules (.bas) at startup?

qu'est que-ce "personal macro storage"?

"dmang " wrote in message
...
If this is for personal use, you can add the .bas file to your personal
macro storage, and put a commandbutton on the excel menu. Just click
the button to run the macro whenever you like.


---
Message posted from http://www.ExcelForum.com/



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Newbie question: Importing modules (.bas) at startup?

I created a command button and pointed it to the .bas file, but when I
reopened a spreadsheet I wanted to apply the macro to and pressed the new
command button, I got:

"The macro 'Book1!BoldDuplicate' could not be found"

So how do I add it to the application itself (or is that even possible?)?


"dmang " wrote in message
...
If this is for personal use, you can add the .bas file to your personal
macro storage, and put a commandbutton on the excel menu. Just click
the button to run the macro whenever you like.


---
Message posted from http://www.ExcelForum.com/



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Newbie question: Importing modules (.bas) at startup?

import your .bas file into a new workbook.

Save that workbook in your XLStart folder and it'll load each time excel starts.

(Lots of people name workbooks that hold their favorite macros personal.xls.)

Then use tools|macros|macro...
select your macro and Run.
When you need to run it.

Joe Murphy wrote:

I have a .bas file that I use to bold duplicate occurrences in a column.
Works great, but everytime I open a new spreadsheet I have to go to Tools
Macros VB Editor and then File Import File and go find the .bas file.

Is there a way for this .bas file to be loaded into Excel at startup?

Thanks,
JM


--

Dave Peterson

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
Video store startup question Lhsquared Excel Discussion (Misc queries) 2 February 12th 07 08:59 PM
Real Newbie newbie question Dave New Users to Excel 0 January 10th 07 07:55 PM
Importing modules from a folder michaelberrier Excel Discussion (Misc queries) 0 June 25th 06 09:55 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
Question Startup Switches greg Excel Discussion (Misc queries) 2 November 29th 04 11:07 PM


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