Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This code works in a VBA Sub but not in a VBA function
Dim wsPurchase As Worksheet Set wsPurchase = Worksheets("Purchase") Dim rCriteria As Range Set rCriteria = wsPurchase.Range("A1:A2") rCriteria.Offset(1, 0).Value = sSet Is there a way to change a worksheet cell from within a VBA function? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I assign range to variant and use | Excel Discussion (Misc queries) | |||
assign a value to a range | Excel Discussion (Misc queries) | |||
Assign Range - Inactive Worksheet | Excel Programming | |||
How to assign a variable in a range select | Excel Programming | |||
Assign a random selection to a range | Excel Programming |