Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Another Cool Macro

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?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Another Cool Macro

change
Worksheets(ActiveWorkbook.Worksheets.Count).Cells( i, 1).PasteSpecial
Paste:=xlValues

to

Worksheets(ActiveWorkbook.Worksheets.Count).Cells( 1, i).PasteSpecial
Paste:=xlValues


be sure to INCLUDE the colon

;-)
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Another Cool Macro

SUPA DUPA! I owe you big time, Thanks Again!!

"Jarek Kujawa" wrote:

change
Worksheets(ActiveWorkbook.Worksheets.Count).Cells( i, 1).PasteSpecial
Paste:=xlValues

to

Worksheets(ActiveWorkbook.Worksheets.Count).Cells( 1, i).PasteSpecial
Paste:=xlValues


be sure to INCLUDE the colon

;-)

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Another Cool Macro

"SUPA DUPA"?
now I need some assistance on this one...
what does it mean?
;-)))
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Another Cool Macro

thks a lot, Glenn
;-)

="SUPER DUPER"?

does mean much to me, either
;-)


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default Another Cool Macro

On Aug 1, 2:58 pm, Jarek Kujawa wrote:
thks a lot, Glenn
;-)

="SUPER DUPER"?

does mean much to me, either
;-)


Super = great, wonderful
Duper....hmm, guess it rhymes with Super

And 2 words must calculate to twice as Super!
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
Another Cool Macro carla 7 Excel Worksheet Functions 0 July 31st 08 08:09 PM
Cool Macro carla 7 Excel Discussion (Misc queries) 6 July 31st 08 03:22 PM
Cool Feature - How do I do it? mnt Excel Discussion (Misc queries) 3 March 24th 06 06:23 PM
Can anyone tell me something really cool that Excel can do? Kevin Excel Discussion (Misc queries) 4 March 7th 06 03:15 AM
I found this cool link Gogogo Excel Worksheet Functions 0 January 13th 06 04:11 PM


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