Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default how to copy data with out using paste method

Hi,



We have 36 excel files, each excel file consists 9 sheets. The 36 excel
files are copy of the some excel file. In some sheets of excel files may
contain data and some may not contain data.



So in my main excel file I have written a macro which copies the data (my
macro wont copy whole sheet it copies data sheets which is having data in
the cells, if any row not containing any data then that row is not copied)
from all these 36 excel files into a new sheets of new workbook, for this I
have used

Paste special pate: = xlPasteValues etc.

This is working fine but I want to achieve exact functionality with out
using Paste methods, is it possible to do this requirement with out using
paste method? If yes can you tell me how to do this?



Are there any alternative methods?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default how to copy data with out using paste method


There is a way to do this but it's a tad messy.

What you could do is export the data to a text file and then read it
back again. However, could you explain why you don't want to use the
Paste function?


--
zaphod2003
------------------------------------------------------------------------
zaphod2003's Profile: http://www.excelforum.com/member.php...o&userid=34362
View this thread: http://www.excelforum.com/showthread...hreadid=541440

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default how to copy data with out using paste method

hi zaphod,
Can you give me sample code for exporting data to text file
and get back.

Client told us, I need to avoid using the paste method as it has a limit of
255 characters, users may fill the "note " field with much more data that
255 characters.



"zaphod2003" wrote
in message ...

There is a way to do this but it's a tad messy.

What you could do is export the data to a text file and then read it
back again. However, could you explain why you don't want to use the
Paste function?


--
zaphod2003
------------------------------------------------------------------------
zaphod2003's Profile:
http://www.excelforum.com/member.php...o&userid=34362
View this thread: http://www.excelforum.com/showthread...hreadid=541440



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
can you change the default paste method? (paste values) David A Brown Excel Discussion (Misc queries) 3 December 18th 07 09:59 AM
Excel cut/Paste Problem: Year changes after data is copy and paste Asif Excel Discussion (Misc queries) 2 December 9th 05 05:16 PM
Cut and Paste using Macro gives paste special method error Lourens Pentz Excel Programming 3 November 21st 04 10:42 PM
More efficient method to copy-paste values in place? quartz[_2_] Excel Programming 4 November 15th 04 01:54 PM
Looking for faster method for Copy & Paste David Copp[_4_] Excel Programming 5 August 25th 04 04:32 AM


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