Is there a way?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I'm a beginner with macros but am quickly realizing how they can make
everything easier.

I'd like to create a macro that Replaces all cells that have $J$2 in the
formula with $J$3. I have a cell (we'll call it H1) that sums up hundreds of
other cells (sum normally will equal 0). After Find/Replacing $J$2 with
$J$3, I want the macro to look at H1. If H1 still equals 0, then I want to
replace $J$3 with $J$4. If H1 still equals 0, I want to replace $J$4 with
$J$5. I want everything to stop when H1 equals anything other than 0.

Then, I would like to run it again - but starting from the next one where I
left off (so I don't want to start at $J$2 again). I'm not sure if this is
possible --maybe a prompt asking what row to start with?


.



Relevant Pages

  • Re: Is PSHUFW instruction MMX or SSE or SSE2? Is NASM manual correct?
    ... NminusI = 0 ... I seriously doubt a beginner could understand the ... even more easily with a bit of If/Then/Else Macros. ... cmp eax, byte 1 ...
    (alt.lang.asm)
  • Proper case
    ... I am a beginner at VB and have 2 questions... ... How do I convert a text field to Proper case. ... Is the a good site with examples of simple macros and ... Natalie ...
    (microsoft.public.access.queries)
  • Re: macros text dissappears
    ... Don't know about the online thing. ... Word template file with macros in which you enter text in predetermined cells ... This message is posted to a newsgroup. ...
    (microsoft.public.word.docmanagement)
  • Re: Stop users leaving cells blank
    ... any error message when saving the file with blank cells. ... macros; this DOES force them to enable macros. ... For Each sht In ActiveWorkbook.Sheets ...
    (microsoft.public.excel.programming)
  • Re: How to stop Excel adding quotation marks when copying to notepad?
    ... I think it depends on what's in your cells. ... Dim MyDataObj As DataObject ... Dim myStr As String ... Debra Dalgleish has some notes how to implement macros here: ...
    (microsoft.public.excel.misc)