Jenedge73
asked on
Loop through range VBA
I am trying to use a VBA from one workbook to another. When i run my vba it looks like my rngcell is = to nothing i need it to be the BU_Range from the BU INFO sheet.
Can somone help me with this. THe GXA is a global add on to Excel and should be ignored.
Thanks
Sub Update_Distribute_For_All_ CBC_BU ()
Dim rngCell As Range
Application.ScreenUpdating = False
For Each rngCell In Range("BU_RANGE")
Range("SRF-13 Branch Income Statement Act+Bud.xlsx]Options'!$B$4 ") = rngCell '// change to your input cell //
' Add this macro to the active workbook to call Spreadsheet Server's clear cache and recalc.
Call Application.Run("ClearAndR ecalc")
'To the active workbook to call Distribution Manager's Distribute function.
'Distributes open file to location specified in (Options) sheet
Call Application.Run("Distribut eAll_DAS")
Next rngCell
End Sub
Update-and-distribute-to-all-CBG.xlsm
SRF-13-Branch-Income-Statement-A.xlsx
Can somone help me with this. THe GXA is a global add on to Excel and should be ignored.
Thanks
Sub Update_Distribute_For_All_
Dim rngCell As Range
Application.ScreenUpdating
For Each rngCell In Range("BU_RANGE")
Range("SRF-13 Branch Income Statement Act+Bud.xlsx]Options'!$B$4
' Add this macro to the active workbook to call Spreadsheet Server's clear cache and recalc.
Call Application.Run("ClearAndR
'To the active workbook to call Distribution Manager's Distribute function.
'Distributes open file to location specified in (Options) sheet
Call Application.Run("Distribut
Next rngCell
End Sub
Update-and-distribute-to-all-CBG.xlsm
SRF-13-Branch-Income-Statement-A.xlsx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Deleted - Misread post.