![]() |
Textbox value as sourcerange
Hi
Can I use a textbox value as sourcerange? If so, how do i go about (I only get this far); Set SourceRange = Range(TextBox1).Value Again many thanks Regards |
Textbox value as sourcerange
If Textbox1 contains a valid cell address such as A1 or $A$1 ; you can as below
Dim SourceRange as Range Set SourceRange = Range(Cstr(TextBox1)) 'Msgbox SourceRange.Address If this post helps click Yes --------------- Jacob Skaria "Basta1980" wrote: Hi Can I use a textbox value as sourcerange? If so, how do i go about (I only get this far); Set SourceRange = Range(TextBox1).Value Again many thanks Regards |
All times are GMT +1. The time now is 10:12 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com