Hi,
I want that when i launch my userform the activesheet saved location is shown in a text box (textbox1)
How can this be done?
cheers
steve
Hi,
I want that when i launch my userform the activesheet saved location is shown in a text box (textbox1)
How can this be done?
cheers
steve
Quoteactivesheet saved location
??
Do you mean the workbook file path?
so in the userform show event
set the value of the textbox to be : activeworkbook.fullname
Something like
TextBox1.Text = ThisWorkbook.Name & ThisWorkbook.Path
yes, i put that in the value but it did not work,
i tried roys and it keep picking up the wrong file name (gives the other open sheet) ? Where in my code should i have this???
Are you talking about worksheets or workbooks?
this will show the workbook's name and path and active sheet name in a messagebox when the Workbook is opened.
ok got it now, i have been using a workbook and from your excellent help i have done this!!
Thanks very much
Don’t have an account yet? Register yourself now and be a part of our community!