Hi,
I hope there's a very simple solution to this and its just my lack of vba knowledge thats giving me a problem finding it.
I need to enter some formula into a sheet and these formula refer to data on the sheet two along. Unfortunately i don't know the sheets name as this is variable and defined during the course of the macro... only its position... 2 sheets along from the currently active sheet on which the formula is being entered.
I would also be able to work out its absolute position in regards to the first sheet of the workbook if thats useful.
I've put below an example of a piece of formula i want to enter using the macro...
So its basically just getting the max value from a column in sheet 'results_0.26pass', however i won't know that this is its name, only that it is 2 sheets along from the sheet in which i am asking vba to write the formula![]()
Please Login or Register to view this content.
(alternatively I will know that it will be the name of the sheet in which the formula is being written ... "results_0.26pass" .... with the words "results_" removed... i.e. "0.26pass" in this case).
I'd be greatful for any help!
Ben
Bookmarks