Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default data export: can I do this?

I have a fairly complex (Excel 2002) workbook that several ppl use, each
with their own data set. When I distribute a 'program' change, each
person has to re-enter their data. This is not well-received.

To address this complaint, ...

The user-data cells are all unprotected, and named. Non-user-data cells
are protected. My thought is to add a function that loops through the
sheet(s), and for any unprotected cells, extracts its name and value,
which it exports these to a (text??) file.

There would be a second function to run through that text(?) file, and
put the data values from there into the corresponding named cells in the
spreadsheet.

The idea is to allow the user to move their existing data from an old
version of my workbook into a (quite similar) new one.

- Does this seem feasible?
- Is it already done, or is there a better way to do it?
- If it is feasible, is a text file the appropriate choice for storing
the saved information?

Any thoughts appreciated. If I'm not being clear, I can elaborate.

Thanks,
George
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default data export: can I do this?

Anything you can do to separate code from data is worthwhile.

My usual approach is to let the users have their data in workbooks and
worksheets, and have the code in a separate add-in, which can be swapped out
without hosing the data.

If the code is embodied in worksheet formulas, then this is more
complicated. Your view of using a text file is as good an approach as any;
I've used similar.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"George" wrote in message
...
I have a fairly complex (Excel 2002) workbook that several ppl use, each
with their own data set. When I distribute a 'program' change, each
person has to re-enter their data. This is not well-received.

To address this complaint, ...

The user-data cells are all unprotected, and named. Non-user-data cells
are protected. My thought is to add a function that loops through the
sheet(s), and for any unprotected cells, extracts its name and value,
which it exports these to a (text??) file.

There would be a second function to run through that text(?) file, and
put the data values from there into the corresponding named cells in the
spreadsheet.

The idea is to allow the user to move their existing data from an old
version of my workbook into a (quite similar) new one.

- Does this seem feasible?
- Is it already done, or is there a better way to do it?
- If it is feasible, is a text file the appropriate choice for storing
the saved information?

Any thoughts appreciated. If I'm not being clear, I can elaborate.

Thanks,
George



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
export re-order input fields to export file [csv] madisonpete Excel Worksheet Functions 0 November 30th 07 03:51 PM
Export Data into another sheet Kenny Excel Discussion (Misc queries) 0 October 1st 07 09:47 AM
data export srinivas Excel Discussion (Misc queries) 1 August 25th 06 01:00 PM
export excell data as xml moital Excel Worksheet Functions 0 June 22nd 05 08:42 AM
Data Export Ket Excel Worksheet Functions 1 May 3rd 05 04:03 PM


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