PC Review


Reply
Thread Tools Rate Thread

Copy / Link Textboxes between Files

 
 
Troubled User
Guest
Posts: n/a
 
      8th Oct 2008
I am trying to copy all the data out of one text box in file A and put it in
a different Textbox in file B, similiar to if it were a linked cell from file
to file, only with textboxes. These are large textboxes (over 255) so I was
hoping to avoid moving the data out of the textbox to the page and then
importing (via a linked cells) in File B and then refilling the textbox. Was
curious if anyone has a better method.

Thank you.
 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      9th Oct 2008
Are the textboxes on a userform or a worksheet. Do the textboxes have the
same names?

Here are two methods

boxdata = Workbooks("textbox.xls").Sheets("Sheet1").textbox1.Value

boxdata =
Workbooks("textbox.xls").Sheets("Sheet1").OLEObjects("textbox1").Object.Value

"Troubled User" wrote:

> I am trying to copy all the data out of one text box in file A and put it in
> a different Textbox in file B, similiar to if it were a linked cell from file
> to file, only with textboxes. These are large textboxes (over 255) so I was
> hoping to avoid moving the data out of the textbox to the page and then
> importing (via a linked cells) in File B and then refilling the textbox. Was
> curious if anyone has a better method.
>
> Thank you.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy File Formulas between Files w/o the link PJ in CO Microsoft Excel Worksheet Functions 3 12th Dec 2007 05:50 PM
How to link two TextBoxes? Marcus Kwok Microsoft Dot NET Framework Forms 9 28th Mar 2006 07:39 PM
Re: HOW DO I LINK ENTIRE WORKBOOK FILES WITH A COPY OF THE FILE ON OU. Myrna Larson Microsoft Excel Misc 0 22nd Sep 2004 06:25 PM
HOW DO I LINK ENTIRE WORKBOOK FILES WITH A COPY OF THE FILE ON OU. =?Utf-8?B?Q09BQ0ggQw==?= Microsoft Excel Misc 0 22nd Sep 2004 01:35 PM
Copy link files to cd jobby Microsoft Frontpage 1 25th Nov 2003 11:13 AM


Features
 

Advertising
 

Newsgroups
 


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