small help need in Excel button...

madhanji

Board Regular
Joined
Jan 6, 2021
Messages
50
Office Version
  1. 2016
  2. 2010
Platform
  1. Windows
Dear Excel Masters.
I need small help to fix Button value..

Example: cell " A1 " is the reference value of Cell "D1" and
"A1" Value used TO SLIDER BUTTON UP/DOWN of "B1"

Now I need/fix button like " D10", once I click the "D10" button cell "D1" value replaced to cell "A1"

please any formula or vba code to do the Task OR DIRECTLY HOW TO DO IN "A1" without helper column like "D10"

Thanks in advance.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

madhanji

Board Regular
Joined
Jan 6, 2021
Messages
50
Office Version
  1. 2016
  2. 2010
Platform
  1. Windows
I used this formula to get my result, it's work, but expect BEST from seniors to avoid helper column like "D10"

Private Sub CommandButton1_Click()
Range("A1").Value = Range("D1").Value
End Sub
 

madhanji

Board Regular
Joined
Jan 6, 2021
Messages
50
Office Version
  1. 2016
  2. 2010
Platform
  1. Windows
Isn't there someone here to help?

Dear Excel Masters.
I need small help to fix the command Button value..

Example: cell " A1 " is the reference value of Cell "D1" and its dynamic.
""

I used below formula in cell"E5" USING command button and get result, but it's not my required result
because if "D1" is CHANGED, CELL "A1" not changed means not updated

Private Sub CommandButton1_Click()
Range("A1").Value = Range("D1").Value
End Sub

PLEASE ..
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
60,028
Office Version
  1. 365
Platform
  1. Windows
I am afraid that your question does not make any sense to me (and I suspect maybe to others also, since you have not gotten any replies).

It may be helpful to show us examples of what your sheet looks like, and what you want to happen.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 

Forum statistics

Threads
1,147,477
Messages
5,741,364
Members
423,657
Latest member
Medrok2021

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