Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all 11829 articles
Browse latest View live

Shared Excel document Error when connected through VPN

$
0
0

Hi Support Community,

I have a remote user that's experiencing an error when she opens an excel shared document. The error only comes up when the user is connected through VPN connection.  

[filename] cannot be accessed. The File may be corrupted, located on a server that is not responding, or read-only.


When the user manages to opens the file successfully this message comes up.

File In Use

[filename] is locked for editing by[user]

Do you want to

Open a read only copy 


Excel 2007 -Problem sending the command to the program.

$
0
0

We are experiencing an issue with Domain pc's receiving a "There was a problem sending the command to the program" error when opening an Excel 2007 workbook. It is fixed by unchecking "Ignore other applications that use Dynamic Data Exchange" check box, in Advanced Excel options. The problem is, after a period of time, possibly coinciding with Windows Updates, the DDE check box ends up being rechecked. Thus, the issue continues to happen. It happens on multiple pc's, not always the same one, and not all at the same time. The only common denominator on these pc's, is the Osi Pi Datalink add on for excel. These pc's are used to send production data to the Pi Server. Has anyone seen this issue, and is there a solution?


Mikey814

Excel Combining Macro

$
0
0

I have this macro that takes data from several sheets and combines it into one sheet. The problem I have with it is once the sheet is created, it needs to be added to my data model for some pivoting. Problem is, this code doesn't update, but rather recreates a new sheet every time. I am not a coder so Im not sure how to make this update an existing sheet.  Secondary to that it doesn't stop when it reaches the last cell with data. I have to pick a selection of cells so it currently looks in the first 50 cells. I mean I don't mind it returning blank rows, its just not ideal.  Any help would be greatly appreciated.

Sub CopyDataWithoutHeaders()
    Dim sh As Worksheet
    Dim DestSh As Worksheet
    Dim Last As Long
    Dim CopyRng As Range

    With Application
        .ScreenUpdating = False
        .EnableEvents = False
    End With

    'Delete the sheet "All Software" if it exist
    Application.DisplayAlerts = False
    On Error Resume Next
    ActiveWorkbook.Worksheets("All Software").Delete
    On Error GoTo 0
    Application.DisplayAlerts = True

    'Add a worksheet with the name "All Software"
    Set DestSh = ActiveWorkbook.Worksheets.Update
    DestSh.Name = "All Software"

    'loop through all worksheets and copy the data to the DestSh
    For Each sh In ActiveWorkbook.Worksheets
        If IsError(Application.Match(sh.Name, _
    Array(DestSh.Name, "Product Totals", "Devices", "Charts", "BTI Suite", "License POs"), 0)) Then

            StartRow = 2
           
            'Find the last row with data on the DestSh and sh
            Last = LastRow(DestSh)
                              
           
            'Fill in the range that you want to copy
             Set CopyRng = sh.Range("A1:C50")
            
            'Test if there enough rows in the DestSh to copy all the data
            If Last + CopyRng.Rows.Count > DestSh.Rows.Count Then
                MsgBox "There are not enough rows in the Destsh"
                GoTo ExitTheSub
            End If

            'This example copies values/formats, if you only want to copy the
            'values or want to copy everything look at the example below this macro
         CopyRng.Copy
            With DestSh.Cells(Last + 1, "A")
                .PasteSpecial xlPasteValues
                .PasteSpecial xlPasteFormats
                Application.CutCopyMode = False
            End With


            'Optional: This will copy the sheet name in the H column
            DestSh.Cells(Last + 1, "D").Resize(CopyRng.Rows.Count).Value = sh.Name
End If
       
    Next

ExitTheSub:

    Application.Goto DestSh.Cells(1)

    'AutoFit the column width in the DestSh sheet
    DestSh.Columns.AutoFit

    With Application
        .ScreenUpdating = True
        .EnableEvents = True
    End With
End Sub
Function LastRow(sh As Worksheet)
    On Error Resume Next
    LastRow = sh.Cells.Find(What:="*", _
                            After:=sh.Range("A1"), _
                            Lookat:=xlPart, _
                            LookIn:=xlFormulas, _
                            SearchOrder:=xlByRows, _
                            SearchDirection:=xlPrevious, _
                            MatchCase:=False).Row
    On Error GoTo 0
End Function


Function LastCol(sh As Worksheet)
    On Error Resume Next
    LastCol = sh.Cells.Find(What:="*", _
                            After:=sh.Range("A1"), _
                            Lookat:=xlPart, _
                            LookIn:=xlFormulas, _
                            SearchOrder:=xlByColumns, _
                            SearchDirection:=xlPrevious, _
                            MatchCase:=False).Column
    On Error GoTo 0
End Function

Sub CombineNoHeaders()

End Sub

PowerPivot in Excel 2016 Data Model Lost -- Empty

$
0
0

I am facing a most frustrating error with Excel 2016. Random loss of the data model. It happens most frequently if you open more then one instance of Excel. I make constant backups as I go but tonight even the most recent backup did not have the data model and this time I was working on a single file. What is going on? I never once lost the data model in 2013.

Hours of work is lost by this bug! Does anyone have a fix? 

Thanks,

Ken

How do I conditionally append a row of Excel data from one sheet to another?

$
0
0

I have 2 Excel sheets in Excel 2016. One contains all our customer's contact information on each line. The other contains only those who have made purchases (you there are many who have not made purchases). The common field for both is the CustomerName field.


I'm not a programmer but I would like an easy way to append the line of their purchases to the end of their contact information.

Can someone show me how this can be done?

I know nothing of VBA or macros so help is needed here.

Compare two lists in Excel and get an amount

$
0
0

Hi,

I'm looking for a way to compare two lists and get an amount of matches. Example:

EH
144
149
1410
1814
1817
1819
1820
1924

I want the result 4.

Thanks in advance,

Sander.



Adding an IF funtion to an existing complex formula

$
0
0

Hi all,

I'm trying to add another If function to an existing formula on a spreadsheet which was not created by myself. the formula is as follows :

=IF(A1090<>"Cancelled",IF(A1090<>"FYI",IF(O1090="",IF(M1090<>"Complex",(IF(M1090<>"",WORKDAY(J1090,M1090),"")),""),""),""),"")

As this stands right now, when "complex" is entered in col. M, then there is no due date populated to col. N.

I want to add that is "bilingual" is entered, the same result will apply. I cant for the life of me figure out where this would fit in the formula. Any help would be awesome!!!

Power Pivot Field List does not show

$
0
0

I have a file with numerous tabs, each with a different Power Pivot pivot table. I have been working with the file for a while. All of a sudden the Power Pivot Field List is greyed out. The Field List button still "works" in showing or hiding the list, but the list shows no fields. This seems to be related to the specific file as this occurs with this file on multiple PC's, but not with other files. If I try to create a new Power Pivot pivot table the same issue occurs.

Thanks for the help!


Excel 2010 Dialog Boxes Hidden behind Application causing application freezing

$
0
0

Recently upgraded to Office 2010 (32bit) /Windows 7.  Have hundreds of users that we support and so far most have upgraded.  Noticed with some users though - not all - just a small percentage, when they click SaveAs in Excel 2010, the application freezes.  On closer scrutiny we realized what was happening was the SaveAs dialog box was BEHIND the main Excel window.  The only way to restore it is to click on the tab from the Taskbar or minimize all the windows to FIND the SaveAs Dialog box.  Understandably this is causing these users stress and inconvenience.  It is very unproductive and a nuisance to say the least.  The only other variable here is that all these users have multiple monitors, usually 2-4.  But for some, this happens in their main monitor and/or the monitor that Excel is opened in and which has the focus.  Even more strange is that this does not occur to everyone, just a handful of users so far who have reported the issue.  We have also noted it happens with other dialog boxes as well, not just the SaveAs so it seems generic in that sense.

The other item with this issue is that it's not persistent.  Users have reported it's sporadic and comes and goes.

Is this a bug? 

Any feedback greatly appreciated.

Excell 2013 (365) Scroll Wheel Disabled due to Power Query

$
0
0

Opening the Power Query Workbook Queries Pane within Excel results in a loss of scroll wheel functionality.  You can temporarily remedy this by clicking out of excel and then back in.  However, upon closing and opening the pane within excel the scroll wheel issue will represent itself.

Does anyone have a solution to this issue?  Is it a known bug?

HAVE MICROSOFT STARTER 2010 EXCEL

$
0
0
- BUT TODAY I CANNOT OPEN FILES-APPLICATION CANNOT BE LAUNCHED IS MY MESSAGE/PROBLEM SENDING COMMAND TO PROGRAM--ERROR CODE  46362C1-05503235-000002E4----HELP

Relative pointing to files when making queries - Excel 2010

$
0
0

Hello

I am a user of MS Excel 2010. Often, when I need to do data analysis, I would like to define queries on data existing on the same file as if I used MS Access. E.g. I have two tables in the file and I want to join them and apply some logic that can be defined just with SQL and not using Pivot tables. The problem is that in order to do so, I need to create a connection pointing to the file itself, using absolute path, and hence I am unable to move the file in another location without fixing all the defined connections, that is really annoying when you have many of them.

Do you know if there is a way to make a relative pointing to the file or anyway an alternative solution to satisfy this (simple, maybe) requirement?

Thanks in advance for any help!

Best regards,

Piero

Power View in Office 2016

Shortcut to select every other row?

$
0
0

Shortcut to select every other row?  i need to select, cut and then paste. is that possible?

Excel Error-File Locked

$
0
0

After share the excel - 2010 file user have issue with the error like,This file is locked.Try the command again later. And also i checked and renamed in the registry editor but same problem occur in the file.

Godwin Dinesh


Filter a pivot table by OLAP member properties

$
0
0

I'm able to show member properties (OLAP cube) in a pivot table as per this article:

https://support.office.com/en-us/article/Display-or-hide-ScreenTips-and-properties-in-a-PivotTable-or-PivotChart-report-8ee34398-9dce-4a56-86aa-c84710c181e0#bmdisplay_member_properties_as_data_in_

Is it possible to filter or group the data by these properties? (Using Excel 2010)

Thanks!

Andre


Join two Excel tables using Power Query Formula Language (M) or Power Pivot (DAX)

$
0
0

Hi everyone,

I have two tables in excel - one with date ranges (Period begin Date - Period End Date):

Image

and the other one is simple DimDate on day level of granularity (01-JAN-2010, 02-JAN-2010, etc.)

What I want to achieve is to create either M or DAX script to join these two tables to get following result:

Image

SQL query should look like this:

SELECT T.[Transaction Date], D.[Date] as [Period Date]
FROM Transactions T
INNER JOIN DimDate D ON D.Date BETWEEN T.[Period Begin Date] AND T.[Period End Date]

Is something similar possible in M / DAX?

Thanks,

"PowerPivot is unable to load the Data Model"

$
0
0

I have an Excel workbook with sheets with PivotTables using PowerPivot to fill them. The source are SQL Server views and a stored procedure. Somehow I receive now an error message:

- An issue with the Data Model is preventing Microsoft Excel from opening this workbook. Try restarting Microsoft Excel.

followed by

- PowerPivot is unable to load the Data Model

I have Windows 10 and Office 2016. The first message I can't find on the internet. On the second one I found several tips (repair Office, reboot, etc), but nothing helps. Also on a colleagues computer this problem occurs (so it is in the workbook itself). An old version from 2 weeks ago, still works.

Any idea? Any suggestion?

Thanks in advance,

Regards Gerben

How to show collapse/expand button beside a sub-group in Excel that is the last child of it's parent?

$
0
0

I am experiencing this strange behaviour in Excel and am looking for either an explanation or a solution.

I am using Excel's grouping feature to create some parent-child nodes within my spreadsheet. When you do this, Excel normally adds a plus/minus button alongside the nodes to allow you to expand/collapse each grouping.

However, I have noticed that whenever my sub-group is at the bottom of its parent (i.e. it is the last child in the grouping) Excel does not show the button. Why is this?

pasting different dates in excel 2016 copied from excel 2013 running under windows 10

$
0
0
When I paste in excel 2016 data copied from excel 2013 it paste different date from original copy. What to do?
Viewing all 11829 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>