Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBE file open coding
I am trying to write a vbe macro to look in cell J11 for a directory path,
then goto a file name found in cell J40. I have this so far: Open Filename "C:\" & Range("j11").Value _ & "\" & Range("j39").Value & ".xls" I am sure the bottom 2 line are ok, it is the first one that ia a problem. Please can someone help with this nice easy one. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBE file open coding
Hi, give this a try:
Workbooks.Open Filename:="C:\" & Range("j11").Value _ & "\" & Range("j39").Value & ".xls" HTH--Lonnie M. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBE file open coding
"Lonnie M." wrote: Hi, give this a try: Workbooks.Open Filename:="C:\" & Range("j11").Value _ & "\" & Range("j39").Value & ".xls" HTH--Lonnie M. Top guy - thanks buddy. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to confirm the open dialogue box by using macro coding? | Excel Worksheet Functions | |||
How to close a excel file using Macro coding? | Excel Worksheet Functions | |||
How to close a excel file using Macro coding? | Excel Discussion (Misc queries) | |||
Hard-Coding a File Location | Excel Programming | |||
Need some help with in coding!!!! text file importing | Excel Programming |