Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi guys,
How could the sub below be modified for it to work with for example: text phrases in A1 and A2? (It currently works only with numbers/integers in A1 and A2) Private Sub CommandButton1_Click() Dim x As Integer x = Range("a1").Value Range("a1").Value = Range("a2").Value Range("a2").Value = x End Sub Thanks -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Searching String for phrases/multiple text strings | Excel Worksheet Functions | |||
How can I swap cells | Excel Discussion (Misc queries) | |||
Use of Text Phrases in Excel Functions | Excel Worksheet Functions | |||
Text Strings Swap | Excel Worksheet Functions | |||
Swap Cells | Excel Discussion (Misc queries) |