Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to paste from clipboard

On Friday, July 31, 2015 at 6:42:05 AM UTC-5, F wrote:
I have a worksheet in Excel 2010 into which, each day, I paste two
columns from a temporary sheet into columns K and L.

Values from K and L are then extracted into C2, D2, E2 and F2 using


=IF(INDEX($K$8:$K$151,MATCH(MAX($L$8:$L$151),$L$8: $L$151,0))<"00:10",INDEX($K$8:$K$151,MATCH(MAX($L $8:$L$151),$L$8:$L$151,0)),"No
output")

=MAX($L$8:$L$151)

{=INDEX(K8:K80,MATCH(TRUE,L8:L80<0,0))}

{=INDEX(K81:K151,MATCH(TRUE,L81:L151=0,0))}

respectively.

I then copy the contents of C2:F2 and paste them into C4:F4 and then,
the next day, into C5:F5 and so on until the end of the month. The next
month is on a separate sheet.

I've struggled, and failed, to write a macro to automate this. Can
anyone help?

--
F

www.vulcantothesky.org - 2015, the last year to see a Vulcan fly


I need help!!!!
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't paste from clipboard in my macro LAMA Excel Discussion (Misc queries) 1 January 25th 10 08:15 PM
Macro to Paste Picture in email body from Clipboard K[_2_] Excel Programming 4 May 13th 09 07:21 PM
Paste from clipboard only taa Excel Worksheet Functions 0 January 14th 08 06:15 PM
Transfer clipboard from Task pane clipboard(office?) content to Excel (windows?) clipboard? tskogstrom Excel Programming 2 March 6th 07 12:50 PM
Store clipboard before "vba do cut&paste" then recover stored information to clipboard? Marie J-son[_7_] Excel Programming 0 February 8th 06 05:59 AM


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