Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi experts.
[ A ] [ B ] 1] a 2] b 5 3] c 4] d 5] e 7 6] f 8 7] g 11 8] h 9 9] i 10] j 11] k 4 12] l 8 -------------------------------------- Sub Makro1() Dim r,c,x Range("A1:B12").Select Selection.SpecialCells(xlCellTypeConstants, 1).Offset(0, -1).Select c = Selection.Address r = Selection.Rows.Count c = Selection.Columns.Count Selection.Resize( , c + 1 ).Select x=Selection.Address End Sub -------------------------------------- I have problem with the resize line. I want to put address in variable x for both column A and B where column B have value so in the end x =$A$2:$B$2,$A$5:$B$8,$A$11:$B$12 how do i do that ? thanks in advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excell function | Excel Worksheet Functions | |||
I could NOT resize the axis title but excel allows me to resize gr | Charts and Charting in Excel | |||
I could NOT resize the axis title but excel allows me to resize gr | Charts and Charting in Excel | |||
How to resize a comment box, by embedding code into a function? | Excel Worksheet Functions | |||
Function to resize an array | Excel Programming |