Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Macro to copy and paste special values

Hi Everybody,


I need a macro to copy values from sheet1 and paste them in the Sheet3
values and formats only. Here I'm giving my specific problem.

From Sheet1 Cells B4,N4,R4,W4,B5,&N5 which are text values to copied

and pasted in sheet3.
Then again from Sheet1 Ranges B24:B1203,c24:c1203,......upto
w24:w1203, except g24:g1203,I24:I1203,L24:L1203 these three ranges
should be excleded from the selection in B to W range, all the cells in
the range are having conditional formulas, if the condition is
satisfied it will return a numeric value if the condition is not
satisfied it will return "FALSE" or #N/A So now I need only the values
to be copied and paste special as values in Sheet3.
If some body can help for this macro it would be of a great help to me.

Thanks and Regards

Ramana

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Macro to copy and paste special values

Range("a1").Copy
Range("k1").PasteSpecial Paste:=xlFormats, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
code ends
in such cases if you create a macro you can modify that macro for vba


===========================
"bobby" wrote in message
oups.com...
Hi Everybody,


I need a macro to copy values from sheet1 and paste them in the Sheet3
values and formats only. Here I'm giving my specific problem.

From Sheet1 Cells B4,N4,R4,W4,B5,&N5 which are text values to copied

and pasted in sheet3.
Then again from Sheet1 Ranges B24:B1203,c24:c1203,......upto
w24:w1203, except g24:g1203,I24:I1203,L24:L1203 these three ranges
should be excleded from the selection in B to W range, all the cells in
the range are having conditional formulas, if the condition is
satisfied it will return a numeric value if the condition is not
satisfied it will return "FALSE" or #N/A So now I need only the values
to be copied and paste special as values in Sheet3.
If some body can help for this macro it would be of a great help to me.

Thanks and Regards

Ramana



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
Macro to copy & paste-special-values data to selected worksheets tomhelle Excel Discussion (Misc queries) 1 May 5th 10 02:00 PM
Copy range in macro using paste special values Jeff Excel Discussion (Misc queries) 2 August 20th 07 08:12 PM
Macro to copy and paste special values bobby Excel Programming 0 November 7th 05 05:45 AM
Copy Paste Special Values Brian Matlack[_11_] Excel Programming 1 October 17th 05 05:22 PM
Dynamic Copy/Paste Special Formulas/Paste Special Values Sharon Perez Excel Programming 3 August 7th 04 09:49 PM


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