Dear Charlie,

Please share your file with us if it is confidential then please share 
sample at least for better clearity.

Regards,
Lalit Mohan

On Monday, 31 December 2012 11:46:32 UTC+5:30, sswcharlie wrote:
>
> Hi Lalit
>  
> Have tried the code , same result.  Getting the  'application defined or 
> object defined error' message.  Can you review for me.  A mystery to solve.
> Thnaks
>
>  
> Charlie
>
>
> On Mon, Dec 31, 2012 at 4:11 PM, Lalit Mohan Pandey 
> <mohan.p...@gmail.com<javascript:>
> > wrote:
>
>> Hi Charlie,
>>
>> You can copy only value from source to destination using below code also:
>>
>>
>> Sub TestCopyValues()
>>
>>     Dim varArray()            As Variant
>>     
>>     varArray = Sheets("DailyList").Range("ItemsList").Value
>>     Sheets("ItemsListArchives").Range("D").Resize(UBound(varArray), 
>> UBound(varArray, 2)).Value = varArray
>>     
>>     Erase varArray
>>
>> End Sub
>>
>> Hope this will help you.
>>
>>
>> Regards,
>> Lalit Mohan
>>
>>
>> On Monday, 31 December 2012 08:19:44 UTC+5:30, sswcharlie wrote:
>>>
>>>  
>>>  
>>> Hi Ashish
>>>  
>>> Thanks for code.  Still not working.  Has message to say   'application 
>>> defined or object defined error'.  Using XL2000
>>>  
>>> Note that my code without the .value works fine and copies across except 
>>> it has the  error   messages.  Just need to addthe value only.
>>>  
>>> Thnaks
>>>  
>>> Charlie
>>>  
>>>  
>>>  
>>>  
>>>
>>> On Sunday, December 30, 2012 8:45:51 PM UTC+13, sswcharlie wrote:
>>>
>>>> Hi
>>>>  I want to copy the values only to another sheet. Without .value on 
>>>> the end it copies thru with error messages. If I put . value on the end it 
>>>> comes up with message 'copy method of range class failed'. Do not want to 
>>>> use copy/paste special method. Want to use 'Destination" as shown.
>>>>   ****
>>>>  Sheets("DailyList").Range("**ItemsList").Copy 
>>>> Destination:=Sheets("**ItemsListArchives").Range("D" 
>>>> & Rows.Count).End(xlUp).Offset(**7).value
>>>> ****
>>>>  Found other code on the net that just used the .value but one above 
>>>> it does not work. Do I have to make a small change ? or does the .value go 
>>>> in a different position ?
>>>>   Thanks
>>>>  Charlie Harris
>>>>
>>>  -- 
>> Join official Facebook page of this forum @ 
>> https://www.facebook.com/discussexcel
>>  
>> FORUM RULES
>>  
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please 
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice 
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security 
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>  
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and 
>> members are not responsible for any loss.
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "MS EXCEL AND VBA MACROS" group.
>> To post to this group, send email to excel-...@googlegroups.com<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> excel-macros...@googlegroups.com <javascript:>.
>> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
>>  
>>  
>>
>
>

-- 
Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.


Reply via email to