Pass Min(A:A) Value to Active-X TextBox

jim may

Well-known Member
Joined
Jul 4, 2004
Messages
7,486
I have an incomplete Active-X Textbox above Row1 where I'd like for it to
read -- "Beginning 9/05/2011" (without quotes) - the 9/05/2011 value is the
MIN(A:A) date Value in my Column A; I can't seem to figure out how to do it.
Any help appreciated.
Jim
Excel Workbook
ABCDEFG
1Start DateStart TimeStop DateStop TimeActivity NameFullNameRegular Hours (Non Leave)
209/06/1111:46:00 AM09/06/113:51:00 PMInAldred, Amber4.08
309/07/1112:00:00 PM09/07/111:20:00 PMInAldred, Amber1.33
409/09/112:13:00 PM09/09/114:39:00 PMInAldred, Amber2.43
509/09/114:50:00 PM09/09/115:16:00 PMInAldred, Amber0.43
609/12/115:30:00 PM09/12/118:53:00 PMInAldred, Amber3.38
709/15/113:01:00 PM09/15/114:14:00 PMInAldred, Amber1.22
809/16/1112:00:00 PM09/16/112:30:00 PMInAlisauskas, Joseph2.5
909/05/118:46:00 AM09/05/114:45:00 PMInBalkom, Lisa7.98
1009/06/119:08:00 AM09/06/115:23:00 PMInBalkom, Lisa8.25
Drop_Area
Excel 2007
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Hi Jim. Try like this

Code:
Sub Jim()
With ActiveSheet
    .OLEObjects("TextBox1").Object.Value = "Beginning " & Format(WorksheetFunction.Min(.Range("A2:A1000")), "mm/dd/yyyy")
End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,616
Messages
6,179,912
Members
452,949
Latest member
beartooth91

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