Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 31
Default Paste Clipboard from Word to last row in excel

Something like this would work:
Range("A" & Rows.Count).End(xlUp).Offset(1).PasteSpecial
Watch out for line wrapping. All the above code is on one line. HTH
Otto
"J" wrote in message
om...
Hi all!
I am rather new to vb script so would appreciate any help you could
give!
I have used macro recorder and some script to manipulate a word doc so
that non-essential characters are deleted (this info comes from a web
form) . Then I have the macro copy all the text on the page and open
an excel sheet called Master_file.xls which has all the information
displayed in columns B1:G1 such that B1 is Customer_Name, C1 is
Address etc. In the column A* is a counter which increments if any
text exists in B* (eg =IF(B7<"",A6+1,"")).
Problem is, I would like to search for the last row which is empty and
insert the contents of the clipbord in B* through G*.
I am having a difficult time so far so any help would be greatly
appreciated!

Thanks!



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
Cannot paste between 2 excel spreadsheets w/o office clipboard ope bluecali Excel Discussion (Misc queries) 1 May 11th 07 01:13 PM
clipboard clearing in excel, access, word... troy stud Excel Discussion (Misc queries) 0 October 27th 06 11:02 PM
Unable to copy/paste in Excel once clipboard gets full Sean via OfficeKB.com Excel Discussion (Misc queries) 0 April 26th 06 11:43 PM
how do I paste formulas in excel clipboard? AndyBermuda Excel Discussion (Misc queries) 3 May 27th 05 03:25 PM
clipboard in Excel collects but will only paste most recent item Gregory1558 Excel Discussion (Misc queries) 1 May 17th 05 06:35 PM


All times are GMT +1. The time now is 05:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"