Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 390
Default copy row to another open workbook

I need some assistance. I have workbooks that are named and located as follows.

c:\operations\Consolidated EOC Log.xls
c.\operations\EMS Log.xls

I want to utilize the Worksheet_Change(ByVal Target As Range) of the EMS
Log.xls workbook so that when column J is updated that it copies the row
starting with columns B through K to the next available row in the workbook
title "consolidated EOC Log.xls" to the same columns B through K. Column A
should never be copied or populated.

Also €“ If possible I need the code to work while both workbooks are open by
different users.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default copy row to another open workbook

hi,
an MVP may contradict me but i'm not entirely sure you can do what you want.
The worksheet change event fires the code each time a cell changes. you want
to copy an entire row but code would fire each time you enter something in a
cell. between b and k i think is 10.

as to coping to another workbook while someone else has it open - not
possible.
that would be a machine to machine/ memory to memory copy. not possible.

as a suggestion.
why not link the files through microsoft query.
in WB EMSLog.xls you could enter a row then save the file. this would put it
on a network disk. now the other user can get to it via MSQ.
in WB Consolidated EOC Log.xls, you could put up a button to fire the MSQ
which would retrieve the enties made and saved in EMSLog.xls.

yes i know. you want it to be automatic and my suggestion is a bit
machanical. sorry.
Any one else have a better suggestion?

Regards
FSt1

"Bill" wrote:

I need some assistance. I have workbooks that are named and located as follows.

c:\operations\Consolidated EOC Log.xls
c.\operations\EMS Log.xls

I want to utilize the Worksheet_Change(ByVal Target As Range) of the EMS
Log.xls workbook so that when column J is updated that it copies the row
starting with columns B through K to the next available row in the workbook
title "consolidated EOC Log.xls" to the same columns B through K. Column A
should never be copied or populated.

Also €“ If possible I need the code to work while both workbooks are open by
different users.

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
Copy Worksheet from one open workbook to another... sopranoiam Excel Worksheet Functions 0 August 17th 07 05:12 PM
Macro to close workbook and re-open new copy Dave Lagergren Excel Discussion (Misc queries) 2 February 28th 07 10:11 PM
Does Workbook need to be open to copy to..from vba Dale[_15_] Excel Programming 1 December 11th 04 05:31 PM
Copy worksheet from Active workbook into all other open workbooks TroyB[_2_] Excel Programming 0 February 10th 04 10:29 AM
copy sheet1 from all open workbooks to one workbook Mike[_61_] Excel Programming 2 October 31st 03 02:16 PM


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