Results 1 to 5 of 5

Thread: Formating copied text from an access column.

  1. #1

    Thread Starter
    Hyperactive Member Animelion's Avatar
    Join Date
    Jan 2001
    Location
    Jacksonville NC
    Posts
    283

    Formating copied text from an access column.

    I want a user who has selected a form in access and copied it to be able to paste the form with a push of a button into a list. However I don't want the column header to be pasted into the list. Any guidance is welcomed. ~Bryan J. Casler
    ~ Animelion

  2. #2

    Thread Starter
    Hyperactive Member Animelion's Avatar
    Join Date
    Jan 2001
    Location
    Jacksonville NC
    Posts
    283

    Re: Formating copied text from an access column.

    Is there no VBA guru to help !
    ~ Animelion

  3. #3
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    Re: Formating copied text from an access column.

    Hey Animelion, good to see you again

    Will the 'header' always be present?
    Can you post the (copy/paste) code you have so far?


    Cheers,

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Formating copied text from an access column.

    Instead of directly pasting if from the clipboard, you could paste it into a variable and parse out the column header label. Then write it back to the clipboard and the user wont even know whats heppened
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Hyperactive Member Animelion's Avatar
    Join Date
    Jan 2001
    Location
    Jacksonville NC
    Posts
    283

    Re: Formating copied text from an access column.

    Well I don't have any code right now. I don't know how to move data from the clipboard to a list box making each new line a new item in the list box. The column header will never be numerical, so All I have to do is check to see if list item one is numerical, if not, then remove it. Thanks for the never ending help, this board has always been my favorite on the net. ~Bryan J. Casler
    ~ Animelion

Posting Permissions

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



Click Here to Expand Forum to Full Width