Prev Previous Post   Next Post Next
  #1   Report Post  
SM
 
Posts: n/a
Default Excel Problem

I have some sheets 1;2;3;4; ETC.................
I would like the new page list release with one botton:
A1-Nome de sheet(1;2;3;4; ETC)
A2-Date(C50:C80)
A3-Import (D50:D90)


Best regards

Marcello

"Bob Phillips" ha scritto nel messaggio
...
Marcello,

I am not absolutely clear as to what you need, but here is an initial stab
at it

Sub CopyData()
Dim i As Long
Dim sh As Worksheet

i = 1
workheets("Other Sheet").Activate
For Each sh In ActiveWorkbook.Worksheets
If sh.Name < ActiveSheet.Name Then
sh.Range("C50:D90").Copy ActiveSheet.Range("A" & i)
i = i + 41
ActiveSheet.Range("A" & i).Resize(41).Value = sh.Name
End If
Next i

End Sub


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"SM" wrote in message
...
I have some sheets
In every sheet i have a date betwin C50:C80
and the import betwin D50:D90
Is possible that the solution is in other sheet.............?
1-Name sheet
2-Date (C50:C80)
3-Import (D50:D90)

Thanks

Marcello


 
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
Problem with Excel 2003 restricting functionality matthewDBS Excel Discussion (Misc queries) 1 August 12th 05 07:44 PM
sorting problem in excel 2000 inenewbl Excel Discussion (Misc queries) 1 June 13th 05 04:48 AM
Problem Editing Macro in Shared Excel File [email protected] Excel Discussion (Misc queries) 0 March 19th 05 06:01 PM
Excel problem with web based spreadsheets Steve Williams Excel Discussion (Misc queries) 0 January 12th 05 02:11 PM
Staring Excel Problem Everton Excel Discussion (Misc queries) 1 November 26th 04 09:22 PM


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