Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() The pictures speak for themselves: [image: http://i54.photobucket.com/albums/g1...BP/Pic1-4.jpg] [image: http://i54.photobucket.com/albums/g1...BP/Pic2-3.jpg] I already tried to fix this using the following macro but no success Code: -------------------- Sub OpenWorkbook() Dim s1 as String, bk as Workbook, bk1 as Workbook s1 = "C:\Documents and Settings\" & _ "fackt0\Desktop\Shipments\" set bk = activeWorkbook if dir(s1 & Range("C3").Text & ".xls") < "" then set bk1 = Workbooks.Open(s1 & Range("J5").Text & ".xls") bk.Activate else msgbox "workbook not found" End if End sub -------------------- Anyone with an idea what might be wrong? -- TomBP ------------------------------------------------------------------------ TomBP's Profile: http://www.excelforum.com/member.php...o&userid=36112 View this thread: http://www.excelforum.com/showthread...hreadid=559237 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Search Feature in a linked spreadsheet | Excel Discussion (Misc queries) | |||
Search Goto Feature | Excel Programming | |||
Search feature not too helpful | Excel Discussion (Misc queries) | |||
Search feature in workbook | Excel Worksheet Functions | |||
Search feature | Excel Programming |