Excel 2013 Paste trouble Help me

hwrgs

New Member
Joined
Oct 16, 2015
Messages
4
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. :mad:

- 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
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Is the copy / paste done by macro ??
If so, you need to post your code !
 
Upvote 0
Are you copying / pasting ranges that overlap ??
You say C1 range...is it just C1 or a range of cells starting at C1 ??
 
Upvote 0
Are you copying / pasting ranges that overlap ??
You say C1 range...is it just C1 or a range of cells starting at C1 ??

Suppose value is '1' in 'C1' cell

1. Click 'C1' cell in 'B' sheet
2. Copy value using Ctri+C.
3. Click 'A1' cell in 'B' sheet.
4. Paste value using Ctrl+V.

Normally, 'A1' cell should be '1' in 'B' sheet.

However, in this trouble, 'A1' cell is '1' in 'A' sheet not in 'B' sheet.
in 'B' sheet, 'A1' cell is blank.
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,967
Members
452,371
Latest member
Frana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top