LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Change Formula with Macro

I currently am working on a spreadsheet that I am trying to automate
and extremely repetitive task on. Right now I have the following
formula in each cell:
=DCOUNTA(Query!$A$1:$C$50319,Query!$A$1,Calculatio ns!$DM$3:$DP$4). All
I am trying to do is to be able to change the 3 and the 4 to another
number using a macro. I have tried the find and replace but since I
can only do one number at a time the numbers get screwed up. I would
like a macro to prompt me for the two number to change it to and then
click change and have it do it. I don't want anything else in the
formula changed because each row has a different formula but they all
have the same layout. Any help I can get is much appreciated.

Chris Morton

 
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
Autorun a macro on change of cell value (having formula) Ahuja Excel Worksheet Functions 0 December 7th 06 04:47 AM
Macro to change a formula to a value Carl Excel Worksheet Functions 1 November 8th 06 02:29 AM
Macro To Change a Formula to A Value Carl Excel Worksheet Functions 2 October 13th 06 09:21 AM
Macro to change row number within formula mpot4 Excel Programming 2 September 21st 05 03:55 AM
Change Row Numbers in Formula with Macro Frank Excel Discussion (Misc queries) 3 January 4th 05 06:42 PM


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