Good afternoon. I am brand new at Visual Basic. I have written a few simple macros but now I have something that is a bit more challenging and I am having difficulty. The primary worksheet of my workbook - let's call it 'sheet A' consists of 21 columns and 250+ rows. It has a column where the data consists of 3 choices. Let's call the choices 'G', 'H' and 'W'. If the value is 'H' or 'W' the macro needs to go to sheet B and return two values to the last two columns. If the value is 'G' the macro needs to return two values from sheet C.
The choices are strings and the returned values are numbers/dollar amounts. I attempted to code this but realized I am in too deep for my current skill level. I am thinking an If Then statement perhaps combined with a loop but I don't really know where to start. Any assistance provided is greatly appreciated.
The choices are strings and the returned values are numbers/dollar amounts. I attempted to code this but realized I am in too deep for my current skill level. I am thinking an If Then statement perhaps combined with a loop but I don't really know where to start. Any assistance provided is greatly appreciated.