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: 17
Default Create New WB, Specify Parameters and Replace Selection

Hi

I have a worksheet in my workbook called database where all my sample
data is stored with the sample name in Column A and the results for
different paramenters in columns C to AB. I am struggling with trying
to write a macro that can assist the user with data input for retest
data. I am trying to do the following:

Copy a template worksheet called "Retest" and append a user defined
name to it. The user defined part needs to be the sample name from the
database worksheet so rather than enetring the name as text I wanted
to allow the user to select the cell in column A of the database
spreasheet.

The next task is to have the user select which parameter is to be
replaced from a drop down box., i.e Column C is sulphate, D is nitrate
etc so that if Nitrate needed retesting for SAMPLE F in row 16, Cell
D16 would be identified as the one that would need to be replaced with
the outcome of data entered into the "Retest-SampleName" worksheet.

Taking the example so far the user needs to be able to add retest data
for nitarte in sample F (Cell D16) of the database which is the mean
of ten retests entered in the newly created Retest-Sample F worksheet
where cell C15 =(AVERAGE(C5:C15).

Finally their needs to be a mechanism to transfer the mean of the
retest data back to database.

As a newbie to VB m heads hurting a bit at the moment.

Any help would be gratefully appreciated

Thanks

Jamie

 
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
Need to create a chart with 4 parameters Pia Charts and Charting in Excel 2 July 25th 08 02:19 PM
How do I create a lookup using layered parameters Eric Excel Discussion (Misc queries) 2 July 16th 08 01:27 PM
How do I create a graph displaying two parameters for one item lavalisa Charts and Charting in Excel 1 March 20th 07 01:37 AM
create function with passing parameters DASmania Cool Excel Programming 6 January 6th 06 03:56 PM
make the parameters show up when you create your own functions Lee Dengo Excel Programming 1 April 22nd 04 03:22 AM


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