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


I have a spreadsheet with 500 rows containing formulas that look lik
this

=cfi($M$2,$N$2,B467,C467,D467,E467,"S","M","0",Exe c!L$66)

I need a macro that can edit this formula by changing Exec to 'F&A'
move down one cell and do this same thing. This behavior shoul
continue until the cell is blank.

Thanks in advance for any help

LowKey :confused

--
LowKe
-----------------------------------------------------------------------
LowKey's Profile: http://www.excelforum.com/member.php...fo&userid=1527
View this thread: http://www.excelforum.com/showthread.php?threadid=26987

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Macro to edit existing formulas

From Excel's Edit menu, select Replace
Put your search and replace criteria into the supplied textboxes and Replace
All.

If you want a macro to do it, perform that operation with the macro recorder
activated.


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"LowKey" wrote in message
...

I have a spreadsheet with 500 rows containing formulas that look like
this

=cfi($M$2,$N$2,B467,C467,D467,E467,"S","M","0",Exe c!L$66)

I need a macro that can edit this formula by changing Exec to 'F&A',
move down one cell and do this same thing. This behavior should
continue until the cell is blank.

Thanks in advance for any help

LowKey


--
LowKey
------------------------------------------------------------------------
LowKey's Profile:
http://www.excelforum.com/member.php...o&userid=15273
View this thread: http://www.excelforum.com/showthread...hreadid=269870



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
Edit many cells at once to add a charater to existing data? ABTurner Excel Discussion (Misc queries) 3 March 11th 09 06:58 PM
Importing text file, only option to edit existing file smokey99 Excel Discussion (Misc queries) 8 April 26th 06 09:08 PM
How do I add another name to an existing table with formulas to w. Summer Excel Worksheet Functions 3 March 9th 05 03:03 PM
HOW DO I EDIT AN EXISTING FILE TO BE SPACE DELIMITED? cf Excel Discussion (Misc queries) 1 February 18th 05 05:29 PM
Excel open an existing MS Query in edit mode via macro attached to a button. systems analyst Excel Programming 1 October 3rd 03 12:08 PM


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