Advertisement

12.28.2005 at 07:22AM PST, ID: 21677163
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.8

copy multi cells into a singel cell in another sheet

Asked by Jan-1 in Microsoft Excel Spreadsheet Software

Tags: ,

Hi,
I trying to copy 5 cells into one cell with macro in excel 2003. I have an memberlist with adresses in rows and want into one cell in another sheet, but I can't get it right.  The result looks like this: John¤Doe¤Street¤
                       10¤2130¤Oslo
If anyone have an answer to this I am grateful.


Eks:
I have a row looking like this in one sheet:
   A           B          C             D                E           F
  315      John      Doe      Street 10       2130       Oslo  

and I wants it to look like this in one cell in another sheet:
       A
  John Doe
  Street 10
  2130 Olso


Belowe I have copy of my code but the result is' t what I want:

Sub FlytteAdresser()

  Dim LeftCell As Range
  Dim RightCell As Range
  Dim Value As String 'New DataObject
  Dim WorkRange As Range
  Dim Val As Integer
  Dim userInput As String

    With Cells.Range("A:A")
        .NumberFormat = ("#,##0")
    End With
    userInput = Application.InputBox(prompt:="Velg medlem", Type:=1)
    Set WorkRange = Range("A:A")
    'Find it and select it
    On Error Resume Next
    WorkRange.Find(What:=userInput, _
        LookIn:=xlValues, _
        LookAt:=xlWhole, _
        SearchOrder:=xlByRows, _
        SearchDirection:=xlNext, MatchCase:=False _
        ).Select
    If Err <> 0 Then MsgBox "Medlem finnes ikke"
 
  If IsNumeric(ActiveCell.Value) Then
   
  Application.ScreenUpdating = False
    Set LeftCell = Cells(ActiveCell.Row, 2)
    Set RightCell = Cells(ActiveCell.Row, 6)
   
    If IsEmpty(LeftCell) Then Set LeftCell = LeftCell.End(xlToRight)
    If IsEmpty(RightCell) Then Set RightCell = RightCell.End(xlToLeft)
    If LeftCell.Column = 256 And RightCell.Column = 1 Then ActiveCell.Select Else Range(LeftCell, RightCell).Select
    End If
    Selection.Copy
       
      Worksheets("Adresser Uregistrert").Select
        Range("A1").Select
          ActiveCell.Offset(1, 0).Select
         Do While Not IsEmpty(ActiveCell)
          ActiveCell.Offset(1, 0).Select
         Loop

       ActiveCell.FormulaR1C1 = " " & Chr(10) & " " & Chr(10) & " "
    PasteFormula
   
    Application.CutCopyMode = False
End Sub

Sub CopyFormula()
   Dim x As New DataObject
   x.SetText ActiveCell.Formula
   x.PutInClipboard
End Sub

Sub PasteFormula()
   On Error Resume Next
   Dim x As New DataObject
   x.GetFromClipboard
   ActiveCell.Formula = x.GetText
End Sub

Start Free Trial
[+][-]12.28.2005 at 07:39AM PST, ID: 15562998

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.28.2005 at 07:54AM PST, ID: 15563117

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.28.2005 at 09:02AM PST, ID: 15563656

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.28.2005 at 10:02AM PST, ID: 15564300

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.28.2005 at 10:30PM PST, ID: 15568933

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Excel Spreadsheet Software
Tags: excel, macro
Sign Up Now!
Solution Provided By: JFistere
Participating Experts: 3
Solution Grade: A
 
 
[+][-]12.29.2005 at 12:43AM PST, ID: 15569363

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.29.2005 at 01:27AM PST, ID: 15569454

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.29.2005 at 05:01AM PST, ID: 15570067

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.29.2005 at 07:52AM PST, ID: 15571144

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.29.2005 at 08:40AM PST, ID: 15571511

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.29.2005 at 04:37PM PST, ID: 15575001

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.29.2005 at 05:05PM PST, ID: 15575133

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.29.2005 at 05:21PM PST, ID: 15575185

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.29.2005 at 06:03PM PST, ID: 15575318

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.29.2005 at 06:50PM PST, ID: 15575454

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.29.2005 at 09:36PM PST, ID: 15576016

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.29.2005 at 09:38PM PST, ID: 15576018

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.30.2005 at 01:53PM PST, ID: 15580732

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32