Converting Code From 2007 To 2003
Jun 24, 2008
I created this code in Excel 2007 now i want to put it on my other users machines they are using Excel 2003 and i keep getting debug errors can someone help
Sub setup()
' Keyboard Shortcut: Ctrl+Shift+C
'add sheet
Sheets.Add After:=Sheets(Sheets.Count)
'format headers
With Range("A1")
.Value = "Job Name"
.Name = "Arial"
End With
With Range("A2")
.Value = "Quote #"
.Name = "Arial"
End With
With Range("A3")
.Value = "Job #"
.Name = "Arial"
View 9 Replies
ADVERTISEMENT
Aug 29, 2008
I've created a workbook with code to email it to a reviewer then back to the originator when reviewed (along with other editing functions etc.). The problem - The originator is working in Excel 2003, the reviewer in 2007. The macros work great until the reviewer sends it back. I have not been able to figure out which FileFormat:= ???? to use when I SaveAs prior to emailing as an attachment. My Excel 2003 doesn't recognize the .xlsm file and other formats are eliminated the vba/macro coding
View 4 Replies
View Related
Feb 15, 2010
Is is possible to write code that is compatible on both versions.. ie
If Application.Version > 11 Then
' excel 2007 code
Else
' excel 2003 code
End If
I have developed a reporting spread for a client which contains automated chart generation, all done with VBA. I have read numerous threads of issues when upgrading.
What they want is the chart VBA to be upgraded so that it can be run on both versions.
Is this possible, or will it fail at run time?
View 9 Replies
View Related
Sep 29, 2009
I need to find out which version of excel i am using in macro.I mean whether it is 2003 or 2007.Because i need to put 2 diff codes according to the version of excel.Can any one please provide me the macro code to findout the version of Excel.
View 9 Replies
View Related
Jul 6, 2009
I have the following excel formula:
=LOWER(IF(($H2&":"&$M2&":"&$N2&":"&TEXT(COUNTIFS($H2:$H$2,$H2,$M2:$M$2,$M2,$N2:$N$2,$N2),"0000"))=": ::0000","",$H2&":"&$M2&":"&$N2&":"&TEXT(COUNTIFS($H2:$H$2,$H2,$M2:$M$2,$M2,$N2:$N$2,$N2),"0000")))
I need to convert the COUNTIFS into something that is Excel 2003 friendly.
View 2 Replies
View Related
Oct 6, 2008
I am having trouble converting the following Countifs formula developed in 2007 to work in 2003 Excel.
Basically, I want to count the frequency of "N" in 'Data_Q2 2008'!$S$2:$S$9806, where 'Data_Q2 2008'!$B$2:$B$9806 = 'Metric Upload'!C2.
'Data_Q2 2008'!$B$2:$B$9806 is a list of physicians. 'Metric Upload'!C2 is a pick list for selecting the physican that is in the larger data set using Data Validation.
View 14 Replies
View Related
Jan 22, 2014
I have attendance tables that has column Y showing the shift to be worked and column Z showing any absentees. I used the following formula to count the number of people off per period.
{=SUM(COUNTIFS($Y$5:$Y$29,AM,$Z$5:$Z$29,$W82),(COUNTIFS($Y$36:$Y$60,AM,$Z$36:$Z$60,$W82)))}
in the above formula AM relates to a list of morning shifts.
The problem I have now encountered is that the system at work is still using excel 97 - 2003 which does not recognise Countifs.
way to adapt the formula to be compatible with Excel 97.
View 7 Replies
View Related
Oct 6, 2009
My office converted to 2007 last night. I had created my own macro toolbar in 2003 with frequently used macros on it. How do I recreate this in 2007?
View 14 Replies
View Related
Apr 1, 2008
I've got the following macro which I used to copy and transpose an array of data from a 'working' workbook (data in columns) to a 'summary' workbook (data in rows). This worked great in excel 2003 as I used all the columns available (ie. up to IV).
I've run into a problem now I'm using Excel 2007 as there are now significantly more columns. The macro is now trying to copy and transpose every single column in the workbook and is taking a ridiculous amount of time.
How would I adjust this macro so that it only copied a set number of columns? I'd like it to copy only up to column ATV in working.
Sub test()
Dim i As Integer, n As Long
Sheets("summary").Columns("b:iv").Clear
For i = 7 To Columns.Count Step 3
n = n + 1
With Sheets("working").Cells(8, i).Resize(11)
Sheets("summary").Cells(n + 2, "b").Resize(.Columns.Count, .Rows.Count) _
.Value = Evaluate("if(transpose(working!" & .address & ")=0,"""",transpose(working!" & .Address & "))")
End With
Next
End Sub
View 9 Replies
View Related
Sep 3, 2013
I have a large table of results that looks like this...
Forename___Surname___Art___Maths___Science___English___Drama
Billy________Bob_____________B_______A________C_____________
Michael_____Micky_____A_____D_______B_________________C____
Shelly______Sholly_____A*____A________________A________B____
I am looking for a way to write this data in a list like this........
Billy__Bob__Maths___B
Billy__Bob__Science_A
Billy__Bob__English__C
Michael__Micky__Art__A
Michael__Micky__Maths__D
Michael__Micky__Science__B
Michael__Micky__Drama__C
Shelly__Sholly__Art__A*
Shelly__Sholly__Maths__A
Shelly__Sholly__English__A
Shelly__Sholly__Drama__B
Excel 2007
View 5 Replies
View Related
Feb 12, 2013
Is it possible to convert a format like this to something else? 2013-01-29T12:12:11Z
From
YYYY-MM-DDTHH:MM:SS7
To
YYYY-MM-DD HH:MM:SS
View 5 Replies
View Related
Apr 7, 2012
I have 450 names for which I would like to create email addresses. For example:
Name: John Doe
Required email address: John.Doe@boston.gov.tr
Is there a way to convert all 450 names in one go so I can then upload to MS Outlook and then send emails to these people? I am using MS Excel 2003 & 2007.
View 3 Replies
View Related
Aug 27, 2012
I have phone number in phone format which looks like this: (123) 456-7890 which needs to be converted to: 1234567890.
I tried but unable to do so.
View 3 Replies
View Related
Apr 1, 2009
I have some schedules set up with multiple formulas and macros (originally setup in 2003) however when attempting to make this a 2007 file when I go to copy a sheet to create another schedule I get the message “A formula or sheet you want to move or copy contains the name “xx”, which already exists on the destination worksheet. Do you want to use this version of the name? To use the name as defined in the destination sheet, click yes. To rename the range referred to in the formula or worksheet, click no, and enter a new name in the Name Conflict dialog box.”
View 2 Replies
View Related
Dec 29, 2009
I would like to send a .xls file created in Excel 2007 to a user who will work with this file on a PC that runs Excel 2003. Will they be able to open and use a file created in a newer version of Excel?
View 5 Replies
View Related
Jul 28, 2009
I've been putting together an automated spreadsheet that has external data sources to SQL. I have been having some strange problems with it between versions of Excel. Unfortunately, the company's standard is 2003 but quite a lot of the company use 2007. I have been developing this report on 2007, the server that runs the automated version of the spreadsheet runs 2003 (and cannot be upgraded beyond 2003 as it is running Server 2000!).
The template opens fine on my 2007 machine and all development work has been run on my machine including the downloading of data. The VBA script runs something like
refresh datasources ........
View 14 Replies
View Related
Sep 11, 2007
My company used to have Excel 2003. I had a PivotTable in a worksheet that accessed data in another, completely different worksheet. When we converted to Excel 2007, I saved many of my Excel files from .xls to .xlsm. My PivotTable that once accessed data from another .xls file is still trying to access that same .xls file. What I want, though, is for it to access the new .xlsm file.
View 9 Replies
View Related
Jan 29, 2009
I have a spreadsheet that collates a list of data from week order and puts them in a graph. I have a macro created that basically does the graph, it works fine in 2003 but not in office 2007. I get an error "Run Time Error '1004' Application-defined or object-defined error, then when I click the debug button it highlights "ActiveSheet.ChartObjects.Delete". I'm not sure if when its trying to create a new graph its attempting to delete the old one and isnt deleting it? The full code for the macro is below:
Sub updateStuff()
Dim searchResult As Range 'Result of the find operation - to check if it has worked or not
Application.ScreenUpdating = False
If SheetExists("OTIF Chart") Then
Application.DisplayAlerts = False
Sheets("OTIF Chart").Delete
Application.DisplayAlerts = True
End If
Sheets("OTIF's").Select
Range("B4:N4").Select
Selection.Copy
Sheets("Graph").Select
Range("B1").Select................................
View 9 Replies
View Related
Aug 19, 2009
I created a Macro in 2007 and it turns out I needed to develop it in 2003. Now none of my code works and I am trying to convert it. I would appreciate any assistance determining what needs to be corrected and how to correct it. Here iare two samples that is repeated throughout my code.
'Delete anything currently in spreadsheet
Application.CutCopyMode = False
Range("A2:N1048576").ClearContents
Range("A2").Select
ActiveWorkbook.Save
Windows(BBSource).Activate
lastRow = Range("C14").End(xlDown).Row
Range("C14:C" & lastRow).Copy
Windows(BBForm).Activate
Range("J2").PasteSpecial Paste:=xlPasteValues
Range("K2").Value = "PCS"
Range("K2:K" & lastRowDest).FillDown
View 9 Replies
View Related
Jan 3, 2010
For a particular requirement I want to utilise the colours.
ANd therefore I need to know, how many colours are present in the Colour Palette in both 2003 and 2007 and which colours would be same if I make the File in 2007?
Are there 60 colours in 2003?
View 9 Replies
View Related
Nov 30, 2006
I want to install the new Office 2007 onto my computer.
Will my existing spreadhseets be work with the new version?
But most importantly....If I make a spreadhseet with VBA code and send to to a user with the Office 2003 version - will it still run OK?
View 5 Replies
View Related
Jun 14, 2007
I have read some information that really scares me.It seems that Excel 2.003 is still superior to Excel 2.007. The comparison table is here: http://www.add-ins.com/Excel%202003%20versus%202007.htm
View 3 Replies
View Related
Aug 13, 2013
I am migrating a bookkeepping spreadsheet from Quattro v12 (c2001) to Excel 2007 and have hit a stone wall over relative 3-D references.
In this workbook each sheet holds data for one month, and this includes some lagging-12-month calculations -- that is, summing a range on a single cell for the preceding 12 sheets (including this one).
Unexpectedly, this formula:
=ISUM('201206:201305'!M6)
gives absolute references, even though I put in no dollar signs after the sheet names. This means it gives the wrong answer when copied to the next sheet to start a new month.
I can find no reference at all to converting the above formula from absolute to relative reference.
View 5 Replies
View Related
Jun 9, 2009
I have this formula :
=SUM(F25:M25*$F$6:$M$6)
It works great in xl2003, and it works properly in XL2007 until you try and change it. I changed the column F to Column D and now it gives me a #value.
How can I re-work this for xl2007?
View 3 Replies
View Related
Jan 9, 2010
I found that there is an issue with saving a workbook where there seems to be an issue between 2003 and 2007.
The code I used:
View 3 Replies
View Related
May 22, 2008
I'm struggling constantly with the Excel 2007 I use, and the Excel 2003 that another group uses.
I'm dealing with large files; 200000 to 300000 rows often.
I wish there was a setting or way to automatically force excel 2007 to create a file in 2003 format.....meaning I want 260000 rows to automatically be divided up into 4 sheets limited to 65K each. 260001 rows would be put into 5 sheets, so that I could save it as an excel 2003 file.
Is there also a way to do this from access 2007 exported to excel?(I know that's an access question and probably outside the bounds of this board).
View 9 Replies
View Related
Dec 29, 2008
i created an xl file in 2003 with a userform. but when i open it in xl2007 the form does not appear.
is there a trick to seeing the userform i created in the xl2003 prog?
View 9 Replies
View Related
Feb 25, 2009
I am trying to find a method of adding a combo box and populate it that works for Excel 2000, 2003 and 2007. The following works for Excel 2007 but did not work on a machine installed with Excel 2003.
With Sheets("Tasks").ComboBox1
.AddItem "By Task Number"
.AddItem "By Date Task Assigned"
.AddItem "By Date Due for Completion"
.AddItem "By Status"
.AddItem "By Status and Date Due for Completion"
End With
View 9 Replies
View Related
Jul 7, 2009
The below code works fine in excel 2003 but when I run it in excel 2007 it crashes excel.
(Microsoft Excel has encountered a problem and needs to shut down etc etc)
Private Sub CommandButton2_Click()
With Sheets("Sheet1")
.Range("A1").Value = ComboBox2.Text
.Range("C2").Value = ComboBox2.Text
.Range("C4").Value = TextBox5.Text
.Range("D1").Value = TextBox5.Text
.Range("C5").Value = TextBox7.Text
.Range("C6").Value = TextBox9.Text
.Range("C7").Value = TextBox13.Text
.Range("C8").Value = TextBox11.Text
.PageSetup.RightFooter = "&""Arial,Italic""&9" & ComboBox1.Text
End With
With Sheets("Sheet2")
.Range("G1").Value = ComboBox1.Text
End With
Unload Me
End Sub
I have tried all kind of changes that I thought might make a difference,
like changing .Text to .Value and vv,
View 9 Replies
View Related
Sep 3, 2009
Here is what I have
=_xlfn.SUMIFS('COMMISSIONABLE INTERNAL SALES'!$N:$N,'COMMISSIONABLE INTERNAL SALES'!$A:$A,$A$1,'COMMISSIONABLE INTERNAL SALES'!$O:$O,I$1,'COMMISSIONABLE INTERNAL SALES'!$D:$D,$A2)
I need it converted to something usable in 2003
View 9 Replies
View Related