Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub Tester()
Dim s As Worksheet Dim s2 As Worksheet Dim r As Long, x Set s = ActiveSheet Set s2 = ThisWorkbook.Sheets("Sheet2") r = 1 x = Application.InputBox("Enter number of characters", _ , , , , , , 1) Do While s.Cells(r, 1).Value < "" s2.Cells(r, 1).Value = Left(s.Cells(r, 1).Value, x) r = r + 1 Loop End Sub Tim "Sylvia" wrote in message ... In the new worksheet. -- Sylvia ------------------------------------------------------------------------ Sylvia's Profile: http://www.excelforum.com/member.php...o&userid=30300 View this thread: http://www.excelforum.com/showthread...hreadid=506668 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to copy data when data is detected in another column(s). | Excel Worksheet Functions | |||
How do you copy all data in a row only if value in column A is "xy | Excel Discussion (Misc queries) | |||
Formula to copy data from every 4th column | Excel Discussion (Misc queries) | |||
Copy Data from one Column to another | Excel Discussion (Misc queries) | |||
How to copy the data in row to column? | Excel Worksheet Functions |