Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    jstoler is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    14
    rpeare...take a look at what I put together that might make it clearer into what I'm trying to accomplish. Thanks!




    Josh
    Attached Files Attached Files

  2. #17
    jstoler is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    14

    Slides to explain

    rpeare, maybe this will help.


    Josh
    Attached Files Attached Files

  3. #18
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Ok.

    Is the ORIGINAL excel file linked to any external source? (SQL Tables for example)

    If it isn't the data is in your excel file, we just have to find it.

    So instead of cutting and pasting what amounts to a screenshot into another excel file you want to put the information into an Access table and do your reporting from there.

    In terms of your current excel file you'd be doing what amounts to this:

    1. Open your excel file
    2. Go to your PIPE BY HSS section
    3. Choose the first branch you're interested in the FF Server/Branch combo box
    4. Select the information displayed in cells AD20 through AHXX where XX represents the last row number of data.
    5. Paste that information into an Access table
    6. Repeat steps 3 - 5 for all branches

    I am assuming you do not want to end up with an excel file (like the file 07.13.13 Run.xlsx you posted) you want an actual access table you can manipulate and report on as you want. Is that correct?

    If the original excel file IS linked to an external source that's another problem entirely but I doubt it is if you're downloading it from a sharepoint site.

  4. #19
    jstoler is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    14
    I think you are correct. The original file is not linked to an external source so we should be good there. The one question I do have with Step #4 in your list is what if the range changes and extends past the last row of data due to grow of that branch? Can I have a selection that accounts for growth in the data range?

    Thanks!

  5. #20
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Is there any chance you can get permission to share the original spreadsheet that you download with me. I can give you a private email in PM's if there's privacy information on there. (I work with restricted information every day so I know it can be a pain to get permission) I really need to see the construction of that original file because I believe what's happening is there's a raw set of data and your excel sheet is basically acting like a poor man's database to filter the data based on the information you enter.

    Don't worry about the XX (row indicator) it's should be easy to detect the last row of something and dynamically create the range.

    The range issue should not be a problem if my suspicion of the source file is correct though. Or, alternately, you can dig into the formulas on the source spreadsheet and find the original tab/data within the excel file and just import that source data directly into access.

  6. #21
    jstoler is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    14

    Copy/Paste

    Also, when I copy/paste into an Access table, how does it know the source to Run it again from?

  7. #22
    jstoler is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2013
    Posts
    14
    unfortunately, I can't send the restricted info. I wish I could, sorry.

  8. #23
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Well if you can't even ask that really limits what I can do because I don't know the construction but here's the good news.... I can almost 100% guarantee that the data you need is already in that spreadsheet we just have to find it.

    So to start looking for it... in the dropdown (combo) box that you're using to pick your branch. Right click that combo box and bring up the properties. Unless those values are typed in by someone there should be a reference somewhere in the properties you're looking for the sheet and cell range. I'm guessing this will lead you to a sheet that contains just a list of all your branch names.

    What happens when you pick a branch, is everything automatically updated or do you have to trigger the refresh of data some way?

    If it's automatic it likely means that you have a series of formulas in the data area that you want to copy. If there are no formulas there is likely some VBA script running when you choose a new branch.

    If you post either the vba code (the code is going to be related to whatever triggers new data to be populated, if that's simply choosing a branch it will be related to that combo box) or the formulas that make up a single row of the data you're interested in we can start tracking down where the data is.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Export Data to Excel Pivot Table Loss of Formatting
    By Damian in forum Import/Export Data
    Replies: 1
    Last Post: 05-17-2013, 07:56 PM
  2. Replies: 2
    Last Post: 01-23-2013, 04:57 PM
  3. Pivot Chart using data from more than 1 table
    By mitch_pearce79 in forum Access
    Replies: 2
    Last Post: 12-16-2012, 06:36 AM
  4. Replies: 5
    Last Post: 12-03-2012, 05:03 PM
  5. Importing Excel data to an existing table
    By tonyrhills in forum Import/Export Data
    Replies: 3
    Last Post: 12-23-2011, 09:19 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums