Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Best method for working with Excel Database

What is the best method for reading/writing to an excel file using VBA where
multiple people need to write while other people are reading.

1) Will GetObject work or do you have to use some other method?
2) Does the file need to be locked to prevent multiple users from
simultaneously writing to the file?
2) Most users know how to use Excel and probably would prefer Excel, but
is there any advantages of using Access?

The writes to the file will just add data to new rows at the bottom of the
worksheet. The writes will be done with VBA, and the Reads are just people
looking at the data and no VBA will be required.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Best method for working with Excel Database

Joel, I have not tried to write or modify code on a shared workbook but it
seems that I read somewhere that it should be removed from sharing while any
updates to code or formulas are being processed. Other than that, when it is
on the server as a shared file, it sort of takes care of itself as far as
adding data is concerned. With regard to Access, it is a database
application and is much more forgiving in processing changes.

"Joel" wrote:

What is the best method for reading/writing to an excel file using VBA where
multiple people need to write while other people are reading.

1) Will GetObject work or do you have to use some other method?
2) Does the file need to be locked to prevent multiple users from
simultaneously writing to the file?
2) Most users know how to use Excel and probably would prefer Excel, but
is there any advantages of using Access?

The writes to the file will just add data to new rows at the bottom of the
worksheet. The writes will be done with VBA, and the Reads are just people
looking at the data and no VBA will be required.

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 database from ODBC query (or another method) Richard Edwards Excel Worksheet Functions 4 June 24th 08 11:47 AM
trying to use PasteAndFormat method in Excel VBA is not working AdamLeeeee Excel Programming 0 September 27th 07 09:18 PM
open database method tjh Excel Programming 2 November 18th 04 10:19 PM
Worksheet_Change method not working in Excel 97 Manoj Kumar Sharma Excel Programming 4 October 6th 04 10:38 AM
Open current database method No Name Excel Programming 2 September 30th 04 10:39 AM


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

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"