Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old November 25th 04, 11:55 PM
Mark
 
Posts: n/a
Default copy\paste from one workbook to another

Hi,
i don't use copy and paste. if you assign a string to the
source cell then the value is stored in the string. While
the macro is still alive, the workbook can be closed and
the string value is still active. When you open the
invoice file, the target cell can take the string value.

A1=strSourceValue


I do many of the quoteforms. If you want to send the
quoteform, directory/folder addresses of both the source
xls and ther target xls to me, i will create a program to
do what you want. It is free till it gets either boring or
time intensive.

confidentiality assured and guaranteed.
See my excel stuff at:
http://au.geocities.com/excelmarksway
http://www.geocities.com/excelmarksway





- - Mark
-----Original Message-----

I am an amateur using vb excel 97, I want to copy data

from
workbook("QUOTE") and paste it into certain cells in

workbook("INVOICE
PROGRAM"). It is set up so that the user goes into QUOTE

and makes one
up. Then later on in the week they pull the saved file

back up, click
on sheet1 commandbutton2 whereby this code,

"ChDir "S:\RETAIL INVOICE PROGRAM"
Workbooks.Open

FileName:= "\\Fileserver\spencersshare\RETAIL INVOICE
PROGRAM\INVOICE PROGRAM.xls", _
UpdateLinks:=3,

opens the INVOIVE PROGRAM. I want to set it up so that

before the
INVOICE gets opened, certain cells from the opened QUOTE

ex. A1, A3, B3
etc. are copied, the QUOTE workbook closed, then the

INVOICE opens, the
specific copied cell data from QUOTE and gets pasted into

their
respective INVOICE cells. I know that it can be managed

to fall in that
order, I just don't know what the code is to do it. I

searched the old
files on here and nothing was really able to help.

any ideas? Thanks


--
chief
----------------------------------------------------------

--------------
chief's Profile:
http://www.excelforum.com/member.php?
action=getinfo&userid=7773
View this thread:

http://www.excelforum.com/showthread...hreadid=320447

.


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
Update linked cells within a workbook??? Chance224 Links and Linking in Excel 4 January 21st 05 07:33 PM
linking cell value in one workbook to a cell in another workbook Jig Bhakta Links and Linking in Excel 1 January 20th 05 07:12 PM
No More New Fonts may be applied to this workbook perplexed Charts and Charting in Excel 1 January 4th 05 08:10 PM
Print all charts in a workbook (multiple worksheets) aewsaws Charts and Charting in Excel 3 December 31st 04 11:31 AM
sotring worksheets in a workbook pineywoods Charts and Charting in Excel 3 December 22nd 04 11:11 PM


All times are GMT +1. The time now is 09:15 AM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017