I've made some functions with VBA in a Excel file(2013 version) and using it.
There was no any problem for the first time.
However, after I've added more newly functions and modified them, I've found out there is a big trouble.
Here is a situation.
1. A new sheet called 'B' is generated through macro.
2. When I copy 'C1' range value in visible 'B' sheet and try to paste it in 'A1' range of the same sheet,
The value is pasted in 'A1' of 'A' sheet not 'B' sheet.
- If I select another sheet and return to 'B' sheet again before copy&paste,
The problem above does not happen.
This trouble only happens when I try to copy&paste right after a new sheet is created through macro.
Please help me and share your experienced knowledge.
thanks
There was no any problem for the first time.
However, after I've added more newly functions and modified them, I've found out there is a big trouble.
Here is a situation.
1. A new sheet called 'B' is generated through macro.
2. When I copy 'C1' range value in visible 'B' sheet and try to paste it in 'A1' range of the same sheet,
The value is pasted in 'A1' of 'A' sheet not 'B' sheet.
- If I select another sheet and return to 'B' sheet again before copy&paste,
The problem above does not happen.
This trouble only happens when I try to copy&paste right after a new sheet is created through macro.
Please help me and share your experienced knowledge.
thanks