One Kool Macro Needed

Reply

Join Date: Jul 2008
Posts: 3
Reputation: ferol05 is an unknown quantity at this point 
Solved Threads: 0
ferol05 ferol05 is offline Offline
Newbie Poster

One Kool Macro Needed

 
0
  #1
Jul 31st, 2008
S.O.S, help needed badly…the following macro:
For Each Worksheet In ActiveWorkbook.Worksheets
i = i + 1
If i < ActiveWorkbook.Worksheets.Count Then
Worksheets(i).Range("M6").Copy
Worksheets(ActiveWorkbook.Worksheets.Count).Cells(i, 1).PasteSpecial
Paste=xlValues
End If
Next

End Sub

will pastes values the last worksheet in the workbook vertically. I am in severe need of a macro which will paste the values in the last worksheet in a horizontal manner. I tried incorporating outplace.range (“a” & outrow). PasteSpecial Paste: = xlValue, Transpose: = True into it, but it did not work.

All I want is for the range output to fall horizontally instead of vertically.
Can someone please help?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Windows tips 'n' tweaks Forum


Views: 577 | Replies: 0
Thread Tools Search this Thread



Tag cloud for Windows tips 'n' tweaks
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC