Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Sub FormatFiles() Dim TabNAME As String Dim WB As Workbook Do Set WB = Workbooks.Open(Filename:=ActiveCell) Set TabName = ActiveSheet.Name My Macro code - This is just simple code to format the WB workboob that was opened. Workbooks()"Master file").Activate Sheets("TabNAME").Range("B5:B102").FormulaR1C1 .... (vlookup formula to the WB file. WB.Close True 'Save Changes ActiveCell.Offset(1).Select Loop Until ActiveCell = "" End Sub -- Regards, timmulla |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help declaring array limit with variable? | Excel Programming | |||
declaring public variable value | Excel Programming | |||
Declaring variable as a dynamic array? | Excel Programming | |||
Declaring Variable as VBConstant | Excel Programming | |||
Declaring a variable? | Excel Programming |