vba-select multiple disconnected ranges - to copy paste special values in place 
Author Message
 vba-select multiple disconnected ranges - to copy paste special values in place

I go to select multiple ranges - no problem

My problem is excel will not allow me to copy & then paste special values -
I am trying to kill vlookup formula's & turn them into safe friendly values.

might you be able to use vba on disconnected ranges.

this question applies to the "copy  - paste special - values" in place
question but this "separate ranges" issue causes me grief in general - I
will gladly apply it to other things as well unless this complicates the
question.

Thanks Todd



Fri, 24 Oct 2003 05:58:50 GMT  
 vba-select multiple disconnected ranges - to copy paste special values in place
How about just wrapping a

        for each myArea in myRange.areas
                'your code here to copy and paste here.
        next myArea

Quote:

> I go to select multiple ranges - no problem

> My problem is excel will not allow me to copy & then paste special values -
> I am trying to kill vlookup formula's & turn them into safe friendly values.

> might you be able to use vba on disconnected ranges.

> this question applies to the "copy  - paste special - values" in place
> question but this "separate ranges" issue causes me grief in general - I
> will gladly apply it to other things as well unless this complicates the
> question.

> Thanks Todd

--

Dave Peterson



Fri, 24 Oct 2003 06:34:33 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Can cut or copy Can Not select paste or paste special

2. Copy/Paste Values to Multiple Selections Within a Single Range

3. Using VBA to select a highlighted range and paste values to another workbook

4. Paste Special w/o Selecting Range

5. Copy/Paste Special selects the destination

6. copy/paste special, values and colours only excel 97

7. Copy and paste special values without switching sheets

8. Can't Sort after Formula then Copy/Paste Special/Value

9. Copy & Paste-Special-Value

10. how to paste special value in VBA-code


 
Powered by phpBB® Forum Software © phpBB Group