Rearranging Exported SharePoint Lists In Excel?

Jul 1, 2013

I've just exported a list from SharePoint to Excel, which gave me as a result a owssvr table, so far so good cause every time the list in SP is updated I can do a refresh and get the latest values; however once I opened the table I realized that the columns where not correctly order they were all mixed and the information does not look as it is required so I need to rearrange them. I do not need to delete a column I just need to be able to move them between themselves so that they will follow certain order: Product ID, Name, Amount of pieces, Place where they are stored, etc. this is very important because later on I use "vlookups" to do a series of reports.

I've tried cut- paste to move the columns to the correct position, unfortunately once I close the excel file and try to open it again, I got a message saying that the content is not readable and when Excel repairs it, my owssvr table loses the link to SP so I cannot update refresh the table anymore.

I cannot edit the list in SP as this site does not belong to me and I only got access to export the data and be able to refresh the table, all I want is to be able to move them within my ovssvr table so that locally I can work with them better.

Here is a pic of what I am talking about: cmms.JPG

So for example in the pic I put, I need that instead of Comments in Column E, Product ID can be in Column E, then Name in column F and so on..

View 1 Replies


ADVERTISEMENT

Rearranging An Exported File

Oct 12, 2007

I imported a file of National Historic sights which imported fine with the exception that it's all out of order. Here is how it currently looks:

ResnameFIELDFIELDVALUE
Lake Norconian ClubApplicable CriterionARCHITECTURE/ENGINEERING
Lake Norconian ClubApplicable CriterionEVENT
Lake Norconian ClubArchitectGibbs, Dwight
Lake Norconian ClubArchitectWilson, G. Stanley
Lake Norconian ClubArchitectural StyleMISSION/SPANISH REVIVAL
Lake Norconian ClubArea of SignificanceARCHITECTURE
Lake Norconian ClubArea of SignificanceEXPLORATION/SETTLEMENT
Lake Norconian ClubCurrent FunctionDEFENSE
Lake Norconian ClubCurrent FunctionGOVERNMENT
Lake Norconian ClubCurrent SubfunctionCORRECTIONAL FACILITY
Lake Norconian ClubCurrent SubfunctionNAVAL FACILITY
Lake Norconian ClubFederal AgencyDEPARTMENT OF THE NAVY
Lake Norconian ClubHistoric FunctionCOMMERCE/TRADE
Lake Norconian ClubHistoric FunctionDOMESTIC..........................

View 9 Replies View Related

Rearranging Data From Combined List To Separate Lists?

Aug 21, 2014

Is there a simple way via VBA to alter the layout of data from a mixed up two column list into multiple headed lists on another worksheet (within the same workbook)?

The attachment should better demonstrate what I mean. Sheet1 has example data of how it is and Sheet2 shows how I would like it.

The data will be dynamic in the sense the numbers of unique values in column A will change (only increase, never decrease), as will the number of unique values in column B.

View 2 Replies View Related

Check In/ Out Excel Doc On Sharepoint

May 25, 2011

I have a doc on sharepoint called adamc.xlsx

When I open the doc I would like the workbook open event to check the document out for editing on the workbook close event i would like it to be checked back in...

Been playing around with Workbooks.CancheckOut but I've completely lost the plot.....

View 9 Replies View Related

Export Excel To Sharepoint

Dec 3, 2012

1) I have a excel on a sharepoint, i want to link it to the other sharepoint. Can this possible.

2) I want to open a excel which is in sharepoint, and export it to network place created in my computer. then save

View 2 Replies View Related

Excel 2007 :: Rearranging Numbers In Another Column

Apr 22, 2012

Formula that can do this?

Sheet1
ABC111213214325436547658769871018112123113421453156416151726183194120522163227423852496257268279
Excel 2007

I basically want column A to be like Column C. The logic is that every time the row that have 1, skip a row and run the numbers until the next 1 appears.

View 3 Replies View Related

Excel 2007 :: Search For A File In Sharepoint Using VBA

Apr 18, 2014

I want to search for a file in Sharepoint using Excel 2007 VBA.

Path to the Sharepoint location where the files are at is [URL] ....

File name is customer_list_xxxxxx.xlsx The x's are a date which changes every day or week. So a new file will be uploaded to the sharepoint path.

Example customer_list_041414.xls

I've tried so many different code options for this, but no luck.

View 1 Replies View Related

Checking In Document In SharePoint From Excel Macros

Jun 24, 2014

We have mapped a network drive to a SharePoint Directory, while we are able to copy a file (using Macros) to this location, this file does not appear in SharePoint to the other users, the reason being that it is not checked in. How to Check using Excel Macros.

[URL] .....

View 1 Replies View Related

Excel Cannot Refresh Sharepoint List Anymore?

Jun 1, 2014

At work we use a connection to a SharePoint List within Excel to refresh the data in the files.

When excel is refreshed I get this error (this happens for all users in the team and multiple workbooks)

Image 1.png

The weird thing is I can export the SharePoint list to an excel file and it is fine but as soon as i go to refresh it (Data>Refresh All) it produces the above error.

View 1 Replies View Related

How To Traverse Folders And Files On SharePoint With Excel VBA

Mar 9, 2011

how to traverse all files in SharePoint folders using Excel VBA and have not come across an answer I could use because, by configuration design, I cannot map a SharePoint URL to a drive letter.

Here it is:

Sub SPDir()
Dim wb As Workbook
Dim dummyFile As String
'
' The file specified by dummyFile must reside in SharePoint in order to use SharedWorkspace
' The way the code is set up, the path and filename in dummyFile should NOT substitute %20 instead of spaces
' There is logic later to ignore dummyFile on output
' Substitute your own dummy file name below

[code].....

View 9 Replies View Related

Checking In Document In SharePoint From Excel Macros

Jun 24, 2014

We have mapped a network drive to a SharePoint Directory, while we are able to copy a file (using Macros) to this location, this file does not appear in SharePoint to the other users, the reason being that it is not checked in.

How to Check using Excel Macros.

View 2 Replies View Related

Excel 2007 :: SharePoint / Checking File Status

Jun 11, 2014

I'm working with a file from SharePoint (FileA), "FileA" goes out to Sharepoint and opens "FileB" (if not already open) then copies information from "FileA" to "FileB". However if "FileA" is left open, or someone else has it open I am unable to open "FileA". How in VBA can I check to ensure I don't have it open locally (if so swich and continue), checkout and open in SharePoint (if not already open) or Prompt with options to force checkin, checkout to copy info?

Simple VBA copy I used:

Workbooks.Open FileName:= _
"http://sharepoint.baaa.com/sites/SCDT_DSD/Weekly_Releases/11.%20Combined%20Weekly%20Task%20List/1/Automated_Status_Update.xlsm"
Sheets("1").Select
Range("A1").PasteSpecial Paste:=xlPasteValues

View 2 Replies View Related

Excel 2007 :: Generate Single Sheet Workbook And Save To Sharepoint Site

Jan 4, 2012

Automating Excel from Access, I'm attempting to generate a single sheet workbook and save to a Sharepoint site. This process works fine on my machine (XL2007, XP), but on a coworkers computer (XL2003, XP), the code throws a 1004 error on the save as line. However, the really odd thing is that stepping through the code doesn't throw an error on the coworkers machine.

Here's the sub being ran; the line it errors out on is the first branch in the .saveas block.

Code:
Private Const csSharePointSaveAs = "\sharepoint-us.mycompany.comsitesfinance adminlah blahlah-blahCustomer Publication Tracking.xls"

Private Sub PublishXLtoMOSS()
Dim objXL As Excel.Application 'Object
Dim wb As Excel.workbook 'Object
Dim ws As Excel.Worksheet 'Object
Dim rs As DAO.Recordset
Dim i As Long

'Set objXL = CreateObject("Excel.Application")

[Code] ...........

View 1 Replies View Related

Excel 2010 :: Workbook Not Closing Correctly When Accessed Via Link On Sharepoint Site

Feb 18, 2013

I was asked to create a userform for the use of our whole team which would enable them to select a name from a dropdown list and then it would display their business contact details in the rest of the form.

I'm running Office 2010 and Windows XP server/enterprise edition (not quite sure which). After some research I've managed to use VBA code to open the userform while hiding the workbook, then when the close button is clicked it closes the user form and it's associated workbook using the code below.

Code:
' ThisWorkbook module
Private Sub Workbook_Open()
Application.Visible = False
UserForm1.Show
End Sub
'UserForm module
Private Sub CommandButton1_Click()
Unload UserForm1
ThisWorkbook.Close (False)
End Sub

This works great when the excel file is accessed directly. However when the excel file is accessed via the link on my teams Sharepoint site it doesn't. When the Userform is closed the underlying workbook and data is then displayed which then has to be closed separately.

View 2 Replies View Related

Excel 2010 :: Macro To Upload SharePoint Project List Then Copy To Existing Workbook?

Jul 11, 2014

I need to be able to export a project list to Excel and overwrite the contents in an existing Summary Report with the exported list. Is this possible? I am using SharePoint 2013 and Excel 2010.

View 4 Replies View Related

How To Format Exported Database

Jan 30, 2012

I'm trying to format an exported excel database.

I'm currently running into difficulties with a text field full of user comments.

At present, there are cells with the #NAME error on them, and the only way I've been able to get rid of them is by double-clicking on them and pressing ENTER. This is also the only way I've found to remove excess white space in each cell.

Double-clicking each entry in the database would take far too long, and I'm assuming that there must be an easier way.

View 6 Replies View Related

Data Exported To Word

Jul 4, 2008

I have some monthly sales data (max 200 lines per month). The sales are from numerous suppliers (we sell on behalf of others and take a commission). Each month the sales/commission are reported back to the suppliers that have actually sold something!

The problem I have is that some supplier may have sold one item and others may have sold ten (so a simple mail merge is out of the question).

I can create the data in Excel quite easily but currently have to copy and paste this into Word. I am sure this is quite simple, but I cannot get anything to work.

View 9 Replies View Related

Improve Quality Of Exported Chart

Oct 20, 2008

I was working with automatically exporting the contents of a textbox to an image file and found this post which I was able to modify slightly for my purposes.

http://www.excelforum.com/excel-prog...ml#post1982405

Is it possible to improve the quality of the output image. I need to print out the resulting image and the quality of the image this method creates is too poor for my purposes.

View 7 Replies View Related

Extracting Text (Exported Data) From A Cell

Mar 13, 2014

I have a spreadsheet where the data held in column A is an export from another system and the exported data looks like this:

??????? Stn ??????? ??????? ??

What i would like to be able to do is to split out the data in column A so that the text before the 'Stn' (but including Stn) are shown in column C with text after 'Stn' is shown in column D. i have looked at using =LEFT, =MID or =RIGHT with =FIND but the problem i have is that the text prior to the letters Stn could be one, two, three or four words and the text after could be similar.

View 2 Replies View Related

Creating Button To Generate Spreadsheet From Exported Data?

Jun 9, 2014

sample pic.png

I have two spreadsheets of data I export regularly from an outside source. I want to consolidate the data from these two sheets into one large sheet with all the data in a more concise form bringing in only the data related to certain parts I am conducting analysis on. I have a list of these parts already. My first thought on how to do this would be to use the list in an entry for an input box and have that list be the index for a for loop in which i searched for a part code, copied the entire corresponding row, and pasted it back into the master sheet. I have gone through and tried to do this but I am running into problems because sometimes I have multiple rows of data that correspond to a single part number. I have attached a template of the way that the data should look in the master file with the multiple rows of details that correspond to just one part entry.

View 1 Replies View Related

Create New Table (or Matrix) From Exported Set Of Data From Website

Jun 19, 2014

I have a set of exported data from a Project Management SW (activecollab). The result is an excel .xslx file with a table inside with a lot of cells I am not going to use. Additionally, what I would like to do is creating new tables on other sheets that use only the data I want from the export. For example, I have two projects and three employees. I want to create three tables with the names of the three employees. In each table I want the tasks done by them and the time they will spend on them in order to create a Gantt chart. I need a solution that allows me to create new tables with selected data from a bigger cluster (the export). you do not need to give me the exact solution, I only need to know whether it is possible or not and where could I get the info to do what I want.

View 1 Replies View Related

Macro- Data That Is Exported Our House Investment System

Oct 27, 2008

i have a spreadsheet with data that is exported to Excel via our in house investment system, the report looks something like below, though real data consists of 2000 rows of data. Where we have O/S in Bank this means these entries are all physical bank entries i.e statement credit and statement debit, and where we have O/S not in Bank these are all accounting entries, i.e. Ledger Debit and Ledger Debit.

What i am after is a macro that will insert a column next to Team and then input SDR SCR on all statement entries and LDR and LCR on all Ledger entries, the final report should look like the second spreadsheet....

View 9 Replies View Related

VBA To Create New Workbook From Most Recent User-numbers From Exported List

Apr 15, 2012

I need to create a macro that can produce a new workbook with the list of the most recent users of my company, so that we can print their membership cards.

From my company's admin I can export the complete list of users with their name, serial number and address. Every time we export this list, the file is saved as "userdata-dd-mm-yyyy.xls", and "dd-mm-yyyy" as today

However, I would like to create a macro that would
1) open the most recent "userdata-dd-mm-yyyy.xls" workbook in the folder,
2) compare the user numbers in this file with the most recent "card_order-dd-mm-yyyy.xls" and
3) produce a new "card_order-dd-mm-yyyy.xls" workbook with the list of all new users since the last "card_order-dd-mm-yyyy.xls" ("dd-mm-yyyy" as today), based on the highest number for user number (this is a continuous list)

Note, the "userdata-dd-mm-yyyy.xls" workbook has name, serial number, address, expiration date and user number as columns.... but the extracted info to "card_order-dd-mm-yyyy.xls" is just of the name, serial number and expiration date.

What is the easiest way of doing so and what code should I use for the macro?

View 1 Replies View Related

Filling In Header Dates Dynamically In One Column In Exported Canned Report

Feb 12, 2014

So I have exported a canned report showing me payments by day and it is EXACTLY what I need EXCEPT the dates don't repeat (and it has spaces and some headings but those aren't a big issue). Anyway, I need to dynamically fill in these dates for an entire year.

To be clearer, column A starts off with 1/1/2013 and column B has payment amount, column C check number, D invoice number etc.

But the rest of the cells in Column A for 1/1/2013 after the first row are blank until you hit the payments for 1/2/2013. Then 1/2/2013 is listed once and then blank (or junk header data at a page break) until 1/3/2013 and so on. And of course there are different numbers of payments for each day.

I'm looking to dynamically fill in the dates so that I have a real data /flat file that analysis can be run on. I have some ideas ... Could probably incorporate a "do until" statement somehow...

View 2 Replies View Related

Rearranging Names....

Feb 11, 2010

I have a list of names in the format "SURNAME, Firstname". By using left find and mid find formulas and then concatonating the result I can put the first name first and the surname after it in proper case. This works well for the most part (although if there is an easier way I'd be happy to hear it!) except for when it comes to people with double unhyphonated surnames - lets say for example Ella Van Hamburg.

The name would come through in the raw data as VAN HAMBURG, Ella When I separate the surname and change the case it says Van Hamburg But when I go to extract the first name I get the result HAMBURG, Ella And so when I concatonate: HAMBURG, Ella Van Hamburg. It works perfectly for everyone else, and with hyphonated surnames. I am then using this data in a VLOOKUP which means that the final result has to be in the leftmost column so at the moment that's just where I'm concatonating it.

View 4 Replies View Related

Vba For Rearranging The Data

Aug 28, 2009

I want to rearranging the data in year wise for each company. My data (Sheet 1) is in this order.

Year Company A Company B

1996 Data 1 Data 1
.......
2006 Data 11 Data 2

I wan to rearrange the data (Sheet 2) in to the following order.

Company A 1996 Data 1
........
2006 Data 11

Company B 1996 Data 1
.........
2006 Data 11

Is there any possibility for vba for this soloution. If i will increase the no of companies, whether the vba will work or not.

I have attached a file for the same

View 10 Replies View Related

Rearranging Cell Contents

Aug 28, 2009

I'm trying to work out if there is a way to rearrange the contents of a cell. Basically, I have names in each cell which have surname then first name and I want to have them reversed.

I know it would be easy if they were in seperate cells but unfortunately that's not the case. Is there a way to do it? If it's any help surnames are in upper case and first name in proper case.

View 11 Replies View Related

Rearranging Data From One Sheet To Another

Oct 31, 2012

I have about 20 columns headed things like Product Number, Size, Colour, Weight etc

So for example, one record might be something like:

Product number
Size
Colour
Weight
Col5
Col6
Col7
Col8
etc

[Code]....

I have about 10,000 of these records.

What I need is to rearrange them in another sheet which just has 3 columns.

Product number
Attributes
Values
A record would look something like
Product number
Attributes
Values

[Code]....

Is it possible to transform the first format in the first spread sheet to the second format in the second sheet?

View 14 Replies View Related

Rearranging Values In Table

Jun 25, 2009

I have table with duplicates values on the left side. Table has three columns and in each row is value only in one column. It looks like this:

EVI ROZ POA
101 22
101 3
110 6
110 2
110 3
112 12
114 8
114 6
...

I need to get rid of the duplicates in first column and save values for same number in first column in one row. Like this:

EVI ROZ POA
101 22 3
110 6 3 2
112 12
114 8 6
...

I think only macro can do this.

View 14 Replies View Related

Rearranging Columns With Intervals

Aug 16, 2009

I have posted earlier thread on similar problem but i did not get much response.I am really having a tough time to record a macro, where my columns will be selected with an interval and then will be pasted in to another sheet....

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved