Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 97
Default Procedure is too big

Hi experts:

When I create a macro to copy and then paste a range consintis of 1000 lines
in the same sheet, I used scroll down, it works OK for one sheet.

Since I want to do it for doing the same type of job for the other 8 sheets
by combining the same VBA text, Coz I want just to have 1 button to do it,
but the message is " PROCEDURE IS TO BIG"

My question is, is there any VBA function, jsut to memtopm copy to range say
"A1... to X1000) than can replace the following lot lines:
Selection.Copy
Range("N12:N1004").Select
ActiveSheet.Paste
Range("N9:X1002").Select
ActiveWindow.SmallScroll Down:=-11
ActiveWindow.ScrollRow = 980
ActiveWindow.ScrollRow = 978... this will go al the way down to line
---1000
.........

Thanks for any idea.

Frank

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,290
Default Procedure is too big


Frank,

Not sure what this means... "jsut to memtopm "
However try...

Range("A1:X1000").Copy Range("N12")
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"Frank Situmorang"
wrote in message
Hi experts:
When I create a macro to copy and then paste a range consintis of 1000 lines
in the same sheet, I used scroll down, it works OK for one sheet.

Since I want to do it for doing the same type of job for the other 8 sheets
by combining the same VBA text, Coz I want just to have 1 button to do it,
but the message is " PROCEDURE IS TO BIG"

My question is, is there any VBA function, jsut to memtopm copy to range say
"A1... to X1000) than can replace the following lot lines:
Selection.Copy
Range("N12:N1004").Select
ActiveSheet.Paste
Range("N9:X1002").Select
ActiveWindow.SmallScroll Down:=-11
ActiveWindow.ScrollRow = 980
ActiveWindow.ScrollRow = 978... this will go al the way down to line
---1000
.........
Thanks for any idea.
Frank

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 97
Default Procedure is too big

Sorry Jim, I just wanted to say " just to mention". Sorry I typed it very
quickly and didn't wear my glasses. Also English in our country is very
seldom.

Greetings from Jakarta, Indonesia.

Frank

"Jim Cone" wrote:


Frank,

Not sure what this means... "jsut to memtopm "
However try...

Range("A1:X1000").Copy Range("N12")
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"Frank Situmorang"
wrote in message
Hi experts:
When I create a macro to copy and then paste a range consintis of 1000 lines
in the same sheet, I used scroll down, it works OK for one sheet.

Since I want to do it for doing the same type of job for the other 8 sheets
by combining the same VBA text, Coz I want just to have 1 button to do it,
but the message is " PROCEDURE IS TO BIG"

My question is, is there any VBA function, jsut to memtopm copy to range say
"A1... to X1000) than can replace the following lot lines:
Selection.Copy
Range("N12:N1004").Select
ActiveSheet.Paste
Range("N9:X1002").Select
ActiveWindow.SmallScroll Down:=-11
ActiveWindow.ScrollRow = 980
ActiveWindow.ScrollRow = 978... this will go al the way down to line
---1000
.........
Thanks for any idea.
Frank


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
Sub procedure in Macros Lady Excel Excel Worksheet Functions 1 November 18th 06 03:23 PM
Using lookup in a VBA procedure dilettante Excel Discussion (Misc queries) 1 August 15th 06 04:14 PM
VBA Procedure Jeff Excel Discussion (Misc queries) 0 January 20th 06 04:22 PM
Urgent - VBA procedure Jeff Excel Discussion (Misc queries) 1 January 19th 06 02:57 PM
Very Urgent VBA Procedure Jeff Excel Discussion (Misc queries) 0 October 5th 05 05:39 PM


All times are GMT +1. The time now is 06:39 AM.

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"