1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Tired of cutting and pasting

Discussion in 'Business Applications' started by smeegle, Sep 3, 2004.

Thread Status:
Not open for further replies.
Advertisement
  1. smeegle

    smeegle Thread Starter

    Joined:
    Jan 18, 2004
    Messages:
    3,546
    Whenever I download data from the sql some of the data is one cell over from where it should be. In order to correct it, I cut it from each incorrect cell and paste it over to each correct cell. Does anyone know how to shift the data from a group of adjacent cells over one cell either to the right or to the left?
     
  2. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    Create a query that will only give you the columns you want instead of importing the entire table structure.
     
  3. smeegle

    smeegle Thread Starter

    Joined:
    Jan 18, 2004
    Messages:
    3,546
    Thanks for your answer. However, I do have it arranged so that I get the columns that I want but some of the data winds up in cells in the wrong columns throughout the spreadsheet. For example: cell E6 may have the correct data but just below it cell E7 may have data that belongs in cell F7. So now I would have to cut and paste to make the corrections. Any other ideas would be appreciated.
     
  4. WhitPhil

    WhitPhil Gone but never forgotten Trusted Advisor

    Joined:
    Oct 4, 2000
    Messages:
    8,684
    Use Edit > Paste Special and see what options show up.
     
  5. Anne Troy

    Anne Troy

    Joined:
    Feb 14, 1999
    Messages:
    11,746
    First Name:
    Anne
    I am generally able to sort rows and then select cells based on content, and then Insert-Cells and "shift to right" or something like that.

    If you need some code to help you select specific cells only, maybe this will help:
    http://www.vbaexpress.com/kb/getarticle.php?kb_id=20
     
  6. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    Sounds like your data is importing and merging adjacent cells for some reason. Try setting up your query to trim([fieldname]) this will take out all leading spces and may solve your problem.
     
  7. smeegle

    smeegle Thread Starter

    Joined:
    Jan 18, 2004
    Messages:
    3,546
    Right the first time Rockn. Unfortunately our I S department does not know how to remedy it and our access to their system information is restricted. However, the good news is that WhitPhil and Dreamboat have come up with a solution to my problem. Point the arrow to the border of the cell in question, click it and drag it to the right or left. Amazing. Thanks for the link, Dreamboat.
     
  8. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/269706

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice