Welcome to Windows Help!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Excel Macro Problem

 
   Windows Help (Home) -> Microsoft Excel RSS
Next:  Format cell for pounds/ounces  
Author Message
Annette

External


Since: Nov 7, 2008
Posts: 3



(Msg. 1) Posted: Fri Nov 07, 2008 10:07 am
Post subject: Excel Macro Problem
Archived from groups: microsoft>public>excel (more info?)

I have a database with 98 sheets. One sheet for each bus in our fleet. I
need to updated the links for each sheet from xls to xlsm without changing
the bus number in the link. I used to be able to create a macro to make a
change in a few sheets in the old Excel and run it a couple of times until I
had changed each sheet. In the new Excel , I try to do that & it also
changes the bus number in the formula. Why and how can I stop it from doing
that? Example: the old link is ='F:\HOME\Passarea\MILEAGE\Mileage
08.09\[NOV08.xls]3'!$B$35. I need to change it to
='F:\HOME\Passarea\MILEAGE\Mileage 08.09\[NOV08.xlsm]3'!$B$35, 98 times. The
above example is for bus 3. In the past, I could change just one item in the
link and it would only change the one thing. Now it changes the number after
the ] (the bus number)on it's own. How can I stop it from doing that?

 >> Stay informed about: Excel Macro Problem 
Back to top
Login to vote
ShaneDevenshire

External


Since: Oct 17, 2008
Posts: 19



(Msg. 2) Posted: Fri Nov 07, 2008 11:40 am
Post subject: RE: Excel Macro Problem
Archived from groups: per prev. post (more info?)

Hi,

I'm not sure why a macro is necessary, you could select all the sheets in
the workbook and press Ctrl+H, enter [NOV08.xls] in the Find what box and
[NOV08.xlsm] in the Replace with box, and click Replace All.

If this helps, please click the Yes button

 >> Stay informed about: Excel Macro Problem 
Back to top
Login to vote
Annette

External


Since: Nov 7, 2008
Posts: 3



(Msg. 3) Posted: Fri Nov 07, 2008 3:28 pm
Post subject: RE: Excel Macro Problem
Archived from groups: per prev. post (more info?)

Thank you so much. I was not aware that I could use that function on more
than one tap at a time. It works!
 >> Stay informed about: Excel Macro Problem 
Back to top
Login to vote
ShaneDevenshire

External


Since: Oct 17, 2008
Posts: 19



(Msg. 4) Posted: Sun Nov 09, 2008 12:12 am
Post subject: RE: Excel Macro Problem
Archived from groups: per prev. post (more info?)

Back to top
Login to vote
Display posts from previous:   
Related Topics:
Excel 2003 toolbars in Excel 2007 - I have used Excel 2003 for years and have made a rather heavy customization by defining new toolbars with buttons calling VBA. Unfortunately, with Excel 2007 toolbars no longer exist! Gates and his gang of developers have decided that we all have to..

Unable to open excel 2007 file in excel 2002 despite havin.. - Hi I have installed office compatibility pack for office 2007. However, every time I try to open an xlsx file, I get unrecognized format error in Excel 2002. I can open docx without an issue. It appears to be that the problem is related specifically....

Macro for 'Paste Special' - Is there a way to set a macro up so that perform a 'paste special' into whatever cell is currently highlited? Thanks in advance.

macro security settings - I would like a way to set macro security thru GPO for Excel 2007 SP1 to allow only macro from the startup folder and not from any other files this is actually a group policy question but as this is rather excel specific I was hoping to find the answer...

Macro takes forever - didn't used to - Hi, I'm running a macro to rearrange some tables and add alternate row colors. In the past this macro only took about 15 seconds to run and now it takes several minutes. I can't recall installing any new apps besides windows updates in a long time. I...
   Windows Help (Home) -> Microsoft Excel All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]