Forum Discussion
Bao_bab
Feb 17, 2023Copper Contributor
Copy a formula result to a cell in another sheet + add succesive formula results in consecutive rows
Hi, I am running a partially randomize set of data and trying to find the best solutions depending on certain parameter changes. I need to "record" certain solutions and then compare different re...
Bao_bab
Feb 20, 2023Copper Contributor
ThankHansVogelaar
For some reason, it is not working though. I keep getting the "Compile error: Method or data member not found" message.
HansVogelaar
Feb 20, 2023MVP
The code works as intended when I test it.
Could you attach a small sample workbook demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar? Alternatively, you can attach it to a private message to me. Thanks in advance.
- Bao_babFeb 24, 2023Copper Contributor
Thanks @Hans Vogelaar ! Went for the second option.
- HansVogelaarFeb 24, 2023MVP
You copied the code into a standard module.
It should be copied into the worksheet module of Sheet1 instead. To activate this module, right-click the sheet tab of Sheet1 and select 'View Code' from the context menu.
See your private messages.