Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 425
Default Please help combine two simple codes!

FIRST
I need to first run the fill down code on each page except first
worksheet - "master data".

SECOND
I need to copy data range from all existing worksheets in workbook
(copy range and code given below as PART 2) and paste to next whatever
the next available row in existing sheet "master data".



PART 1
Range("G10").Select
ActiveCell.FormulaR1C1 = "=RIGHT(R4C[-4],4)"
If IsEmpty(ActiveCell) Then Exit Sub
Range(ActiveCell, ActiveCell.Offset(0, -1).End(xlDown).Offset(0,
1)).filldown

PART 2

Rows("10:10").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 425
Default Please help combine two simple codes!

kept trying to combine and build from suggestions to work for me but
no success.
guess i haven't graduated to piecing codes together.
may have to stick to minor manipulations to codes for now.

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
Combine two Codes into one Sheet Steved Excel Programming 2 May 19th 08 02:29 AM
VBA Codes to combine PDF files salut Excel Programming 2 May 3rd 07 05:15 PM
combine change event codes J.W. Aldridge Excel Programming 2 January 20th 07 04:42 PM


All times are GMT +1. The time now is 05:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"