Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default sharing between spreadsheets

A quick question: Is it possible to use VBA to share data from one
spreadsheet to another? If so, do you know any good examples or
guides?

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default sharing between spreadsheets

On Aug 16, 8:00 pm, wrote:
A quick question: Is it possible to use VBA to share data from one
spreadsheet to another? If so, do you know any good examples or
guides?

Thanks!


What do you mean by "share data"? You can use links, you can copy/move
data from one spreadsheet to another. Please prescise what exactly do
you want to do.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default sharing between spreadsheets


What do you mean by "share data"? You can use links, you can copy/move
data from one spreadsheet to another. Please prescise what exactly do
you want to do.


Users will enter data into SpreadsheetA, and it must somehow end up in
SpreadsheetB, preferably at the click of a button. My first thought
would be to have the data saved to a text file and then have
SpreadsheetB load what it needs from the file. A better solution would
be to have SA open SB and copy the data directly to SB. I don't know
what mechanisms are available in Excel/VBA to do this. What do you
mean by "links"?

Thanks!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 236
Default sharing between spreadsheets

Look into having the shared Worksheets in an AddIn.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default sharing between spreadsheets

See Ron de Bruin's site

http://www.rondebruin.nl/tips.htm

Browse through the section on Copy/Paste/Merge examples


Gord Dibben MS Excel MVP

On Thu, 16 Aug 2007 18:00:30 -0000, wrote:

A quick question: Is it possible to use VBA to share data from one
spreadsheet to another? If so, do you know any good examples or
guides?

Thanks!




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default sharing between spreadsheets

On Aug 16, 4:06 pm, Gord Dibben <gorddibbATshawDOTca wrote:
See Ron de Bruin's site

http://www.rondebruin.nl/tips.htm

Browse through the section on Copy/Paste/Merge examples


Thanks,
I eventually found a pretty simple solution which got me started in
the right direction:

'Added this code to a button-click procedure
Dim wbk As Workbook
Dim wst As Worksheet
Set wbk = Application.Workbooks.Open(ThisWorkbook.Path &
"\SomeExcelFile.xls")
Set wst = wbk.Worksheets(1)
wst.Cells(1, 1) = Sheet2.Cells(1, 1)

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
Sharing Data between Password Protected Spreadsheets B.A. Paveza Excel Discussion (Misc queries) 0 February 28th 10 11:17 PM
Collaborating on and Sharing Spreadsheets Daniel Moseley Setting up and Configuration of Excel 0 July 19th 07 07:50 PM
Sharing Excel Spreadsheets on the Web Justin Excel Discussion (Misc queries) 0 November 21st 06 07:20 PM
sharing spreadsheets mjc Excel Discussion (Misc queries) 0 October 19th 06 08:00 PM
Can Excel Spreadsheets be saved as Microsoft Works spreadsheets? EXCEL WORKS CONFUSED Excel Discussion (Misc queries) 4 August 18th 06 11:21 PM


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