Populate Values in a Worksheet Via a Submit Button in Another Worksheet.

The Wamp

New Member
Joined
May 20, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I'm trying to populate values in a worksheet by way of a submit button in another worksheet which will involve data matching. Please see attached image for a better understanding of what I want to accomplish. I think what I want to achieve it is rather straight forward...It's the code where I am hitting a wall.
 

Attachments

  • Submit Button for Auto populate.png
    Submit Button for Auto populate.png
    227.9 KB · Views: 20

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
If this something like you want.

VBA Code:
Private Sub CommandButton1_Click()
Sheets("Alpha").Range("A1").Value = Sheets("Bravo").Range("C1").Value

End Sub
 
Upvote 0
No. This is not working. Can you be more specific per the image attachment. As you can see, I'm laying out a build plan in the SPRP TOOL worksheet that I want to populate the corresponding item number and dates range in the KITS PICK SCHED worksheet which requires item and dates matching.
 

Attachments

  • Submit Button for Auto populate.jpg
    Submit Button for Auto populate.jpg
    161.1 KB · Views: 13
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,169
Members
453,021
Latest member
Justyna P

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