+ Reply to Thread
Results 1 to 3 of 3

No Data selected to parse - Run time error

  1. #1
    Registered User
    Join Date
    01-24-2019
    Location
    Chennai
    MS-Off Ver
    2013
    Posts
    96

    No Data selected to parse - Run time error

    Hello lads,

    I have faced macro error on below code. Can you able to support on this. Enclosed pictures for you to review

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Sub Packlist_Parts_Weights(Optional w As Worksheet)
    '
    ' Last Updated - 27/10/2016 - BO
    '

    Dim Rng As Range
    Application.ScreenUpdating = False
    For Each Rng In Selection.Areas
    Rng.TextToColumns Destination:=Rng.Resize(1, 1), DataType:=xlFixedWidth, _
    FieldInfo:=Array(Array(0, 2), Array(12, 2), Array(23, 2), Array( _
    44, 1), Array(56, 1), Array(80, 1), Array(92, 1), Array(104, 1), Array(118, 1)), TrailingMinusNumbers:=True
    Next Rng
    Application.ScreenUpdating = True

    End Sub[/CODE]
    Attached Images Attached Images
    Last edited by Pepe Le Mokko; 01-06-2020 at 04:17 AM. Reason: Added code tags

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,640

    Re: No Data selected to parse - Run time error

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)

  3. #3
    Registered User
    Join Date
    01-24-2019
    Location
    Chennai
    MS-Off Ver
    2013
    Posts
    96

    Re: No Data selected to parse - Run time error

    Hi Pepe,

    I wrapped the code but it's not working.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Runtime/XML Parse Error
    By ADRgenesiscorp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-07-2017, 12:07 PM
  2. Strict Parse Error
    By greyclear in forum Excel General
    Replies: 7
    Last Post: 09-22-2014, 04:16 PM
  3. XML parse error
    By sennett in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-18-2013, 07:27 PM
  4. [SOLVED] Parse Error
    By Domski in forum Suggestions for Improvement
    Replies: 6
    Last Post: 03-15-2012, 10:07 AM
  5. Replies: 0
    Last Post: 02-25-2012, 10:54 PM
  6. runtime error "1004", no data selected to parse
    By surgical in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-10-2010, 11:41 AM
  7. VBA - Error Using Mid To Parse A Data (.dat) File
    By ajocius in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-21-2006, 10:03 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1