Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bigdaddy3
 
Posts: n/a
Default transferring data between 2 worksheets in same workbook

I have 2 worksheets i work on in 1 workbook with details on both some which
are the same some not which are transferred back and forth with the codes in
sheet1 and sheet 2. Sheet 1 is staff details,Sheet 2 is pay details.the code
in fig1 goes into sheet1 vba and code in sheet 2 goes in sheet2 vba. The
problem i have is that i actually have to open sheet 2 for those figures to
transfer to sheet 1 is there anyway it can be done by better coding,any ideas.

(FIG 1) Worksheets ("Pay").Range("I6").Value = _
Worksheets("Staff Details") . Range("E4").Value

(FIG2) Worksheets ("Staff Details").Range("M17:M69").Value = _
Worksheets ("P11D").Range("E13:E66").Value
--
BD3
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
Some worksheets not viewable within a workbook on a particular PC Rob Excel Discussion (Misc queries) 3 February 23rd 06 06:00 PM
Transferring data between worksheets roy.okinawa Excel Worksheet Functions 11 November 16th 05 02:54 AM
Auto updating a workbook with data from another workbook Richard Excel Discussion (Misc queries) 0 November 6th 05 03:50 PM
Saving data in a worksheet within a workbook Homeuser Excel Discussion (Misc queries) 2 August 21st 05 10:49 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


All times are GMT +1. The time now is 09:50 PM.

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"