+ Reply to Thread
Results 1 to 4 of 4

how to maintain formatting (such as highlighting) when importing in ms query

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    25

    how to maintain formatting (such as highlighting) when importing in ms query

    I haven't found an elegant solution to this problem and have posted on another forum, as well. My current solution is to filter the Master Log so I only see Region 2, copy everything, then paste over Region 2, and repeat with 3, 4 and 5.

    I have a master log (attached) that I import using Microsoft Query to 4 other spreadsheets (called Regional Logs), depending on the contents of the column "Region." I have all this figured out, but I can't figure out how to have the highlighting persist through the export and refresh. I don't think the attached file has any highlighting, but how I use this is I edit the Master Log throughout the week and highlight changes as I go. Coworkers use the 4 Regional Logs throughout the week to monitor different cases, particularly the new ones, so they need to see all changes for the week highlighted in yellow, which means the Regional Logs need to be linked to the Master Log and the highlighting must be visible any time a coworker opens the Regional Log. In addition, they are emailed across the state to county directors and they need to see the yellow-highlighted data, as well.

    Currently, when exporting data using MS Query, no formatting persists. How can I ensure the highlighting persists? Or, is there another way to easily export the data, depending on the contents of the column "Region", which would allow the highlighting to persist? I hope that I have made myself clear, thank you.
    Attached Files Attached Files
    Last edited by auslegung; 04-22-2013 at 11:18 AM. Reason: Post my "solution"

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: how to maintain formatting (such as highlighting) when importing in ms query

    Hi auslegung,

    you title says you are facing issue when importing but in post body you mentioned that you are facing issue in exporting.

    If you wish to save formatting in the tab, in which data is getting imported, suggest you to first import in some other blank sheet and then copy paste special values in already formatted (Conditional formatted) sheet. thanks.



    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    01-25-2013
    Location
    Charleston, SC
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: how to maintain formatting (such as highlighting) when importing in ms query

    you title says you are facing issue when importing but in post body you mentioned that you are facing issue in exporting.
    Are not importing and exporting the same thing, only viewed from different perspectives? They achieve the same results. I am using MS Queries to import the data, I simply use the word "export" to minimize word usage, sorry for any confusion.

    If you wish to save formatting in the tab, in which data is getting imported, suggest you to first import in some other blank sheet and then copy paste special values in already formatted (Conditional formatted) sheet. thanks.
    This does not address the issue. The 4 Regional Logs must maintain all highlighting that is applied in the Master Log, persisting through importing and refreshing. They must remain linked so the process is automated. There are several columns in the Master Log that do not exist in the Regional Logs, and if I resort to copy-paste, that will take too much time. Paste Special will not work since the data will be in very different places. The only formatting I care about is the highlighting, which, as I understand Paste Special, will only work if the data is in the same place.

    Thank you for the ideas, though, and please correct me if my assumptions are wrong.

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: how to maintain formatting (such as highlighting) when importing in ms query

    Are not importing and exporting the same thing, only viewed from different perspectives? They achieve the same results.
    Its different for me It something like "source formatting" vs "destination formatting". In one of my project related with date extraction, where I needed the data output in some specific format, hence I took two approaches at that time 1) formatting the source itself so that data output comes in desired format 2)formatting the destination - where using macro, I pasted output data values in some pre-formatted sheet and for me both the approaches work

    so just thought to share my experience to help you - nothing else.



    Regards,
    DILIPandey
    <click on below * if this helps>

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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