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

Macro won't run properly when opening workbook from Sharepoint

$
0
0

I have a macro, set to run when the workbook opens. (Full text below).

It works when run as a separate macro, after the workbook opens.

It works when opening the workbook from a local drive.

It does not work when opening the file in the DESKTOP APP, the file being sourced from sharepoint.

I get the error "Run time error 1004, unable to set the OutlineLevel property of the Range Class", sourced to the inner line of the For loop.

As the debug print hints, I can separately confirm the correct values are coming from the OutlineLevel column, and it's targeting the correct row.

The idea behind this is that I want my user to be able to keep the groups updated without needing to use the menus, so they edit the column and the workbook updates the groups when it opens. The values are being drawn from an Excel table on the Checklist tab.

Pre-emptive:

No, I don't want the users to run it as a separate macro, because I want the functionality kept simple for them and to have as few little tasks that need poking as possible.

No, it has to be kept active on Sharepoint as part of the company workflow.

No, as above, I am NOT running it in the browser where macros do not work, I am launching it directly in Excel, either from memory of saved files or from the Sharepoint site.

Private Sub Workbook_Open()

Dim tbl_row As Range
Dim outline_level As Range
Dim chk_table As ListObject

Set chk_table = Sheets("Checklist").ListObjects("ChecklistTable")
Set outline_level = chk_table.ListColumns("Outline Level").Range


For Each tbl_row In chk_table.DataBodyRange.Rows
    'Debug.Print (Cells(tbl_row.Row, outline_level.Column))
    'Debug.Print (tbl_row.OutlineLevel)
    tbl_row.OutlineLevel = Cells(tbl_row.Row, outline_level.Column)
    Next tbl_row

End Sub

I appreciate any help you can give with this admittedly odd behavior.

Ben


Excel Crashes when typing

$
0
0

I am having a major issue with excel crashing after I attempt to type in a cell.  I have uninstalled it and reinstalled office 365 with the same out come.  This is the error I am getting:

Any Assistance would me greatly appreciated. 

Problem signature:
  Problem Event Name:APPCRASH
  Application Name:EXCEL.EXE
  Application Version:16.0.11929.20708
  Application Timestamp:5e865a93
  Fault Module Name:KERNELBASE.dll
  Fault Module Version:6.1.7601.24545
  Fault Module Timestamp:5e0eb6bd
  Exception Code:e06d7363
  Exception Offset:000000000000b87d
  OS Version:6.1.7601.2.1.0.256.48
  Locale ID:1033

Additional information about the problem:
  LCID:1033
  skulcid:1033

Excel Auto Format

$
0
0
How to disable auto formatting  of new inserted cells in Excel ? It has been observed that, when we insert a new column, excel set its format as the format of adjacent cell.

I need to hide rows on a Quote Form I'm building. Can you help me, please?

$
0
0

MS won't let me upload a .jpg snip until my account is verified (yep, I'm a nube). I'm hoping the time I spent putting this question together is not wasted.

I'm working on a QuoteForm! tab that lists data populated from various cells when values are entered in the SaleSheet! tab. I want to hide Rows 56:88 on the QuoteForm! tab whenever they have values less than 1 in Column A as well as the associated Product Heading Row (typically the Bold Text row above the values returned from the SaleSheet! tab).

I found a block of VB code here in the community (thanks Ron Rosenfeld) that seems to do most of what I need, but I can't get the Header Row above the block of data to hide. In this example, I need to hide Rows 61:67 when the value in Column A is less than 1. Of course, this would need to repeat for each Product Heading on the QuoteForm! tab.

I am anchoring each Product Heading Row with the number .999 (hidden) in Column A to give the code something to look for. You can see Rows 62 and 65 are hidden because they have values of 1 or greater where A62 =IF(SaleSheet!B27<>0,SaleSheet!B27,"") and Cell A62 is formatted as a Number with no decimal points. Here is the code I am using.


Option Explicit
Private Sub Worksheet_Activate()
    Dim r As Range, c As Range
Set r = Range("a56:a88")
Application.ScreenUpdating = False
For Each c In r
    If Len(c.Text) <= 0.999 Then
        c.EntireRow.Hidden = True
    Else
        c.EntireRow.Hidden = False
    End If
Next c
Application.ScreenUpdating = True
End Sub

powerpivot

$
0
0
I Cannot see the powerpivot line when I am in my com add ons ?

Power view does not exist in Add-Ins

$
0
0

I am using Microsoft 365 Business subscribed account.

I am not having Power view Add-Ins under COM Add-Ins tab. i have adopted many methods, found on web to get this option but could not do so.

So it is requested give me solution of this problem.

Regards,

Excel VBA: Advanced Filtering

$
0
0

I have an Excel workbook with several sheets and one of the sheets includes a button that is calling a macro that does execute Advanced Filtering and copy the resulting data from another sheet to this one.

If I now save and close the workbook with the filtered data still showing in the sheet and then when reopening the Excel file I receive an error message that there was a problem and asks if I want to repair the file. I answer yes and it opens the file read only saying that "another user" is logged on and then comes up with a repair message saying "removed records: sorting from..../sheet3.xml part.

However, if I clear the results of the advance filter before saving and closing the Excel file and then reopen it, it just opens fine and doesn't come up with any error messages.

The Excel file is located on a NAS drive, I checked to see what happens if it's stored local on my PC and the only difference was that the message about being locked by another user isn't showing up in that case

How can I fix that problem?


Excel 2016 Solver error message (Windows 10)

$
0
0

I am using Microsoft Office 365 from my school. I am currently facing a problem with installing Solver. I have already done the steps to add in Solver, but I am unable to use this function. This error message keeps appearing: "Cannot run the macro 'SOLVER.XLAM!GetSolverLabel'.

I have tried removing and adding in Solver again, even restarting my laptop, but to no avail.

Here is another error message that happens when I close Excel. The Solver add-in is actually under the Data Analysis function, but the word "Solver" is not appearing, and the whole function does not work.

My laptop is ASUS UX303UA and I am using Windows 10.

I urgently need to use this function for school work and I would be extremely grateful if someone can help me. Thank you.



How to consume SOAP web services in Excel 365?

$
0
0

Currently I use the library MSSOAP30.dll to consume SOAP web service, where data and files are exchanged massively from 64-bit Macro Excel. Everything has worked properly for several years in MS Office 64 bit versions. However, now in Office 365 this is not the case, when trying to instantiate an object from the library MSSOAP30.dll, the system throws an error indicating that it cannot create the object. Question: Do you have another library for consuming SOAP web services in 64-bit Excel 365 Macros?

Thank you.

SQL Server OLAP Cubes Access Via Excel on a MAC - in 2016?

$
0
0

Hi,
Does anyone know how to allow for Excel running on the Macintosh, to access a SQL Server Analysis Services created OLAP Cube? (via Pivot table)
We have multiple BI solutions that need to be accessed via the MAC. In previous iterations of Office for the MAC we couldn't and I see no 'apparent' way in the 2016 version.

This is a heckova hole that's been there for a while - has it been filled?
Edit: And NOT involving Parallels or Windows OS, VMware, etc...

Thanks!
--Dev





Unlock Excel Password Protection

$
0
0

eSoftToolsExcel Password Unlocker Software is one of the best password remover or recovery tool which can securely open Excel (.xlsx, .xls, .xlsb, .xlsm, .xla, .xlam, .xltm) file password. It has provided three recovery methods such as Brute Force Attack, Mask Attack, & Dictionary Attack which can help to unprotect MS Excel, MS Word, & MS Access file password protection. You can try its FREE DEMO VERSION to user trial purpose with all supported versions of Excel up to 2019 and Windows versions up to 10 (32-bit, & 64-bit).

Get More Info:https://www.excelunlockertool.com/

excel password unlocker

Macro Enabled Workbook in OneDrive

$
0
0

Hi,

I'm Onur. I built some statistical models from some interface and downloaded each as a excel file.

To get predictions by the model once giving the inputs (predictions comes from the functions), I have to put the codes which run the functions (code also downloaded from that interface) in the Visual Basic Appllications editor and save that excel file as a macro enabled workbook.

Anyway, model (predictions) works on desktop platform. However, when upload that workbook on OneDrive or share that file with coworkers on OneDrive, our functions based on macro does not work in the cloud.

To edit the variables that run the function and see that function calculates a prediction, do we have to download the macro enabled workbook and work with it only desktop version?

Thank you very much for advices

Excel Recovery

$
0
0

Hi,

   I have problem with my Laptop Motherboard. So, I taken all my files from that Lap hard disk and saved it in my other new Lap. Now, when I see the important Excel files, it is showing with .xlsx extension (my old lap runs with MS 07 and am damn sure it was in .xls only, i had one clue how it changed) and also while opening that file, am getting error "Excel found unreadable content in "filename.xlsx", do u want to recover the contents of this workbook?  if you trust the source of workbook, Click Yes ". Even if i Click yes, am not seeing any data in it.

anyone can you please help me on this? Please reply friends

Excel Not syncing to my second computer

$
0
0
Having trouble getting my Excel Files from other computers. Not syncing with OneDrive.

dates in microsoft excel worksheet (*.xlsx)

$
0
0

Good day

 I get data in xls that i have to upload to our server.

In order that server excepts these files i have to change date format cells to dutch (Belgium).

I do so but still some xls go in error and when i check i find that it didn't correct the date format an put it on "Armenian"

I once was advise the following trick, that after I changed the date format i needed to go to "DATA" => "TEXT to COLUMNS"

2 x next and than finished and the whole column would stay on date format that I did change it. But after one of the office365 updates that even doesn't work anymore

Rgds

Geert Weckx


Difference in loading behavior in Excel (Splash Screen vs. Status bar), reason?

$
0
0

Hello everyone,

we are currently trying to troubleshoot a performance issue in MS Excel, when opening certain files, from a network share.
We have 3 network drives (giving them example names): H = Userhome, P = ProblemShare, G = GoodShare.

All 3 Shares reside on the same NetApp, similar configured.

- Opening a file(s) from the P Share, gives the user Performance Problems, opening the file(s) from H or G Share, as well as locally works.

- Opening Excel first, go via File Open to the P Share and opening the file also works normally.

We also noted a very different loading behavior of Excel when Opening Files from the "ProblemShare". If I open a file from any other location but the P Share (Excel closed => Doubleclicking the file) I see the Excel Splash Screen (green Window, with Excel 2016 Animation), saying "Starting", then "Opening [FILENAME]..." with a percentage counter behind it.

If I open a File from the ProblemShare, Excel opens without the Splashscreen and shows directly the main window, with a text in the bottom status bar like: Opening [Filename]. Press ESC to cancel, and a progress bar next to it.

Of course we are talking about exactly the same files I open from all locations (H, P, G and locally). Also the issue is not related to a certain file, but more noticable at bigger files (>10 MB)

What we tested:

- Adding / Removing the ProblemShare from Trusted Locations => No difference
- Adding / Removing the Problemshare from Intranet Zone in the Browser => No difference
- Addressing the Networkshare with Shortname / FQDN / Directly without mapped drive => No difference
- NTFS / Share Permissions are similar.
- Disabled Virusscanner
- No Offline Files in place
- Reproducable on different clients.

The main question that drives me crazy: Can anyone explain to me, what the possible reasons are for the different loading behavior of Excel? (Splash Screen vs. Main Window + Text & Statusbar)?

Environment: Excel 2016, Windows 10 1909, recently patched.

Can I convert this value to GB for all Values?

$
0
0

I ran a powershell script that I couldn't get to convert to GB only for mailbox sizes.

The results of the size column came out like this and sorting in excel would be easier if these were all the same unit of measurement - 

70.75 GB (75,971,383,470 bytes)
15.85 MB (16,617,373 bytes)
68.7 GB (73,767,624,114 bytes)
61.15 GB (65,663,962,179 bytes)
40.47 GB (43,455,248,088 bytes)
42.56 GB (45,701,633,317 bytes)
66.75 GB (71,672,837,853 bytes)
3.755 GB (4,031,530,731 bytes)
26.53 GB (28,484,802,665 bytes)
4.664 GB (5,008,028,083 bytes)
9.548 GB (10,252,577,131 bytes)
1023 MB (1,072,376,889 bytes)
4.057 GB (4,356,129,359 bytes)
68.42 GB (73,460,232,936 bytes)
6.193 GB (6,649,292,781 bytes)
862.7 MB (904,611,368 bytes)
5.144 GB (5,523,522,003 bytes)
42.87 GB (46,032,646,432 bytes)
709.9 MB (744,352,292 bytes)
368.4 MB (386,253,384 bytes)
73.96 GB (79,413,493,246 bytes)
17.85 MB (18,714,424 bytes)
908.1 KB (929,852 bytes)
28.49 GB (30,593,490,577 bytes)
47.86 GB (51,389,785,181 bytes)

Calculating Variances (Value and Percent) in Pivot (not using power pivot) - is it possible?

$
0
0

I have financial data that I need to show variances against a number of dimensions. I need this in pivot so that I can use filters to create automatic views for different audiences (e.g. Divisions and Heads of Areas). 

In the pivot there are roll ups, so example income as a level with sub level of a number of income types (e.g. recurring, project, etc). 

I have actual data for "Month Actual", "Original Budget for the Month", "REvised Forecast for the Month". I then need calculated columns (to be in the same pivot table), that calculates values for: Actual - Budget, Actual - Forecast and then those value as a % change (so (Actual - Budget)/Budget and (Actual - Forecast)/Forecast. 

I am struggling to get this to work on each level (so income and the lower levels) as well as to get the % to calculate properly. 
Please advise if these is a solution for this in pivot or if only achievable in power pivot, and if so, how? 

Fiscal Year Timelines

$
0
0

Hi!

I was wondering if the timeline feature in Excel can use fiscal years that are different than calendar years? 

For example, in a calendar year, quarter 1 includes the month of Jan, Feb and Mar.  Since the calendar year starts Jan 1.  For fiscal years, the calendar start is not always Jan 1.  For example, a fiscal period can start Nov 1, so that quarter one would include Nov, Dec and Jan.

So when using the timeline, when selecting the year level for the fiscal year 2019 it should filter on dates from Nov 1, 2018 to Oct 31, 2019.  At the quarter level, quarter 1 for fiscal year 2019 should include dates from Nov 1, 2018 to Jan 31, 2019.

Hopefully that is clear.

Thanks

deg

Essbase slowing down excel

$
0
0

I currently use essbase once or twice a month and it works fine when required.

The problem I'm having is that it seems to slow down my excel even when I'm not using essbase. I then have to go into excel options, manage add in's and uncheck the essbase add in every time I open a new excel file.

Is there any way to set the default position of essbase to off?


Viewing all 11829 articles
Browse latest View live


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