Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Macro to evaluate a cell and replace one part of the formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 19 Jan 2006 16:01 GMT
Hello, I am relatively new to Excel macros. Does anyone know of a way
to make a macro that will search each cell in one entire column and
replace just part of a formula? For instance, I have an entire column
that has formulas such as =C10*1.05  and I want to replace the 1.05
with a cell reference like $J$2 so that in the future I can just
replace the value of cell J2 to update all cells. The macro would have
to search the entire column and replace each instance of 1.05 to the
right of the '*'      Is this possible?   Please help.
Toppers - 19 Jan 2006 16:17 GMT
John,
            You could do it without a macro by using EDIT==>Replace  from
the standard toolbar.

> Hello, I am relatively new to Excel macros. Does anyone know of a way
> to make a macro that will search each cell in one entire column and
[quoted text clipped - 4 lines]
> to search the entire column and replace each instance of 1.05 to the
> right of the '*'      Is this possible?   Please help.
John - 19 Jan 2006 19:31 GMT
Thanks... I guess that will work as long as none of the cells contain a
value that matches what I'm searching for in the formulas.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.