R
Rick
I just can't remember how to refer to a relative path in VB.
I want to open the "Summary.xls" workbook from another workbook using a
command button but I want the command to work for multiple users from their
"My Documents" folder and not mine.
Presently I'm using the code as follows but of course it always opens MY
Summary.xls workbook and not the Summary.xls workbook associated with each
user.
Workbooks.Open Filename:= _
"C:\Documents and Settings\Rick\My Documents\House\Summary.xls"
Can someone remind me of the relative path syntax to open a file from a "My
Documents" subfolder?
I would also like the Summary.xls workbook to open with the cell pointer
positioned at a particular cell. One different than that which was saved.
Can this be done? I could write code in the Summary.xls workbook but it
can't be autoexec code because the particular cell can be one of three
possibilities. I'll have to define which code is run from the opening
workbook.
Thanks VERY much for any help or suggestions you may offer.
Rick
I want to open the "Summary.xls" workbook from another workbook using a
command button but I want the command to work for multiple users from their
"My Documents" folder and not mine.
Presently I'm using the code as follows but of course it always opens MY
Summary.xls workbook and not the Summary.xls workbook associated with each
user.
Workbooks.Open Filename:= _
"C:\Documents and Settings\Rick\My Documents\House\Summary.xls"
Can someone remind me of the relative path syntax to open a file from a "My
Documents" subfolder?
I would also like the Summary.xls workbook to open with the cell pointer
positioned at a particular cell. One different than that which was saved.
Can this be done? I could write code in the Summary.xls workbook but it
can't be autoexec code because the particular cell can be one of three
possibilities. I'll have to define which code is run from the opening
workbook.
Thanks VERY much for any help or suggestions you may offer.
Rick