Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Thanks in advance Don't know to reference another workbook with folder and file name. Looking at the following code I am unsure how to get information from other spreadsheets. In the loop the folder will look at various stores. The following shows perth but does not look at it. I have 10 other stores to look at. How do I reference another workwook. Dim strLookSheet As String Dim varAnswer As Variant Dim strWorkbookFolder As String Dim strWorkbookFile As String strWorkbookSheet = "Meats" strWorkbookFolder = "C:\data\perthstore\" strWorkbookFile = "Today_Sales" varAnswer = Worksheets(strWorkbookSheet).Range("D6").Value thanks for all your help. Trev B |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find cell in Excel2000 workbook with link from another workbook? | Excel Discussion (Misc queries) | |||
loop through a column on a workbook copying data on each row to another workbook, then copy data back to the original workbook | Excel Programming | |||
HOW DO I USE MACRO TO FIND REPEATING DATA FROM ANOTHER WORKBOOK | Excel Programming | |||
HOW DO I USE MACRO TO FIND REPEATING DATA FROM ANOTHER WORKBOOK | Excel Programming | |||
EXCEL: Find data in worksheet and create a new sheet in same workbook | Excel Programming |