![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Location: Ireland
Posts: 107
|
Just a simple question here. How do i change multiple cells in the one statement or does it have to be done as below:
Sheets("Sheet1").Range("F4").Value = newValue Sheets("Sheet1").Range("F8").Value = newValue
__________________
[Brian] |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Posts: 363
|
Try this:
application.Union(range("a1"),range("a5")).Value = newvalue
__________________
It's never too late to learn something new. Ricky |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|