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: 25
Default How to use VBA to copy selected data from one worksheet to another

I have successfully used the "IF" formula but need to expand beyond the
number of allowable nested arguments. The "LOOKUP" formula won't work because
I cannot ensure the user selections will be sorted. I've tried using "IFELSE"
in VBA but I don't understand how to properly write the conditions and the
only examples I can find aren't helpful.
Here is the scenario I'm working with.

I have 2 worksheets; InputForm and Formulas.
Range B14:b25 in the InputForm worksheet are drop down lists that deliver a
value in the corresponding range c14:c25.
Cells M1:AC1 in the Formulas worksheet are the same as the drop down list in
the InputForm worksheet. I need to populate cells M2:AC2 with the data from
InputForm C14:c25 based on user selection.
90% of the time there will be several cells left blank in InputForm b14:c25
and I would like to return a "0" in Formulas("M2:AC2") if an operation
isn't selected.

thank you,
dhunter43
The Performance Advantage, LLC
 
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
copy selected rows to second worksheet (NOT Cut + Paste) gyrra New Users to Excel 2 June 4th 10 09:05 PM
Copy or Link Selected Worksheet Steve Excel Worksheet Functions 1 March 19th 08 11:40 PM
copy selected rows to a new worksheet David Gerstman Excel Programming 2 February 5th 07 04:01 PM
Automatically copy selected information from one worksheet to anot SM1 Excel Discussion (Misc queries) 1 December 21st 06 01:02 AM
Is it possible to copy only selected items to another worksheet... HEATHERCOX Excel Worksheet Functions 2 March 1st 05 01:21 PM


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