vba inputbox pasting

gd1sum8nfg2

New Member
Joined
Aug 30, 2014
Messages
6
hello,
I am trying to paste information, from an input box, in a cell. The cell I want the info in, is in column "P". How my sheet is setup is, when someone enters data into, any row, in column "O", a msgbox pops up saying to enter info into a text box, that will paste info into column "P" next to whatever row, in column "O", the data was originally entered into. I am using an activecell.offset code. The problem is, depending on if the user hits "Enter" or "tab" the active cell will be different. Is there any way to to fix this so the info is always in column "p" next to the cell, in column "O", that the data was entered in?!
Thank you, in advance!
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

TMShucks

Active Member
Joined
Jan 10, 2011
Messages
379
It would probably help to see your code. However, I guess you are using a Worksheet Change event handler to monitor changes in column O. If that's the case, the Target cell is the cell that has changed. So, Target.Offset(0, 1) is column P on the same row as the cell that has been changed.
 
Upvote 0

Forum statistics

Threads
1,195,945
Messages
6,012,443
Members
441,701
Latest member
vnkendijs

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
Top