problem with function call

dwarek

Board Regular
Joined
Jul 15, 2016
Messages
79
hello i have created a userform , the function of the userform is like first when i enter the value it will be entered into the sheet with specified rows then next if enter just few fields it will copy the value of cell above and paste on the current cell.When i run the program it works perfectly, but when i assigned a rounded rectangle button on sheet two for example like start button and when i press it the userform appears and here the values which i enter in the field alone is printed into the sheet and copy function doesn't work here. TO BE SHORT THE USERFORM IS WORKING FINE WHEN RUN PROGRAM VBA SCREEN BUT WHEN ASSIGNED MACRO BUTTON THE USERFORM APPEARS BUT COPY FUNCTION IS NOT WORKING. What could be the problem
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
You would have to post some code. Is the code trying to paste to the "Activecell"? If you click a button that takes the focus away from the cell you are trying to paste the result, you may get that error.

Jeff
 
Upvote 0

Forum statistics

Threads
1,223,711
Messages
6,174,025
Members
452,542
Latest member
Bricklin

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