473,396 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Excel 2010 Macro not working on Windows 7 but same works perfectly on XP

This macro is written in Excel 2010 which works perfectly on Microsoft XP but it fails on Windows 7 and 8.

What macro does --- It gives 3 drop down options to user
Select Month ----This is the excel file for e.g. July 2013.xlsx it contains sheet from the date 1st July to 25 July
Select From Date --- Dates from 1st July to 25th July
Select To Date ----Dates from 1st July to 25th July

These 1st to 25th July contains data depending on the range of dates selected by user macro does some formatting Creates new excel file For e.g. "Report - 1 July to 7 July.xlsx"
And each excel report contains 37 sheet with the formatted data and based on this data macro creates graph on individual sheet.

My macro works perfectly if the date range is 3 days but if I tries to increase the range it fails on Windows 7 but works perfectly on XP.

Below are some erros I get when I select the date range more than 3 days and try to generate the report -
1] Method 'Delete' of object 'Series' Failed
2] Method 'MarkerStyle' of object 'Series' Failed
3] Out of Memory
4] Automation Error

I have attached Excel macro "EEM V1.0" and data file "July 2013" which the macro processes.
When you will run the macro first click the "Config Settings" button after that select the path of Report File this is the path where you have saved the "July 2013" file.
After that click the "EEM Activity" button then select the 2nd tab "Custom Date Range".
On this screen select report type "Weekly"
And select the From and to Date range i.e. from 8 July to 14 July.
After that select the Create Reports tab and click on Create Excel Report button to create Report and there I am getting error while creating Graph.
This works perfectly on XP but fails on Windows 7.

Thanks in advance.
Jul 30 '13 #1
2 2869
MMcCarthy
14,534 Expert Mod 8TB
I'm not seeing any attachments, you probably have to zip them up before attaching them.

I would guess that your issue is mainly to do with either missing libraries or out of date libraries. Until I see the macro code I won't be able to tell.
Jul 31 '13 #2
The issue is Resolved. The application were throwing errors because the VBE7 DLL was not properly registered.
I unregistered it and re-register it again that resolved the issue.
Aug 1 '13 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

56
by: john bailo | last post by:
I just installed mono from ximian on my redHat 9 workstation and wrote a simple program from the interesting book ado.net in c# by Mahesh Chand. mono is fun ( is there ado for linux ? ...
3
by: Mr.Doubt | last post by:
I'm trying to run a Excel macro, which uses SOLVER.XLA Add-In, in VB.NET application. When the macro is executed I get the following error message "Solver: An unexpected internal error occured,...
3
by: aryayudhi | last post by:
I have a html page that has javascript that works perfectly in IE, but not in Firefox. The use of this javascript to change "Tab" to "Enter" Button. When we press Tab, it is like when we press Enter...
0
by: guptasourav | last post by:
I am opening an Excel file on my server, and saving it with some other name and then trying to coping the new excel to my local machine. If i use a simple Excel(without macro but with password) it...
1
by: ElPresidente | last post by:
Hi everyone, I had a macro I wrote in VBA which created several dozen spreadsheets based off a master spreadsheet. Code runs smoothly in VBA, but trying to port it over to VB caused significant...
1
by: JDHCoding | last post by:
I have a macro that is pulling data from a linked table, creating several summary tables, and then exporting the results to Excel. I’d like to make this available to other users but I’m concerned...
0
by: J5lemonade | last post by:
I'm not sure my question was placed in the correct section: http://bytes.com/topic/visual-basic/answers/888933-how-use-access-db-through-excel-vba-macro
0
Pakmarshal
by: Pakmarshal | last post by:
I developed a 64-bit Excel Addin. For testing I added it on a laptop (64-bit machine with 64-Windows7 Enterprise and 64-bit Office 2010) , its works fines i can call n use its functions. but when...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.