LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Using multiple worksheets to keep track of changed values?

I'm writing an Excel (vba) utility for a project at work and I could use
some advice on my approach.

I have a folder with 100 .wav files. Each file has a corresponding
text-based script file with variables in it. Like this:

max_simultaneous_samples = 2;
min_playback_rate = 0.9;
max_playback_rate = 1.1;

I wrote a utility that allows users to add variable names as column
headings. When they click on a READ VALUES button my tool fills the first
column with the appropriate filenames, and then it searches through the
files and extracts the variables. The output looks like this:

FILENAME max_simultaneous_samples min_playback_rate
max_playback_rate
thunk.txt 2
0.9 1.1
clap.txt 2
0.8 1.2
gunshot.txt 2
0.7 1.2


I want users to be able to change those values, and then I want to write the
changed values back to the appropriate files. My current plan is that when
I fill worksheet 1 with the values above, I'll add the same values to the
same cells in worksheet 2. That way I can tell which values are the same
and which have been changed. (I'll probably change the font color of any
value that is different from the initial values. That way people will have
a visual indication of their changes before they click the WRITE VALUES
button.)

Is there a better/easier way to do this?

If my approach is okay, I guess I'll have to use the worksheet_changed event
and use 'Target' to search for the cells that have been changed. Right?

Thanks in advance.


 
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
sumproduct multiple values on other worksheets Mike Excel Worksheet Functions 1 March 8th 07 11:45 PM
Average Values / Multiple Worksheets George Reis Excel Worksheet Functions 5 January 31st 06 10:27 PM
Track changes across multiple worksheets Charris Excel Worksheet Functions 1 September 7th 05 09:55 PM
Footer values on multiple worksheets Tracy Excel Discussion (Misc queries) 0 February 22nd 05 07:59 PM
How to sum values in multiple worksheets Robert Lawrence Excel Worksheet Functions 3 January 29th 05 05:15 AM


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