Advertisement

07.30.2008 at 10:02AM PDT, ID: 23608138
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.6

Unable to open file error on linked spreadsheet

Asked by ilrosebud26 in Visual Basic Programming, Microsoft Excel Spreadsheet Software

I have a macro written that I use to format and save inventory files with are then linked to another workbook.  I use the same macro to format two files (one domestic, the other import) .  When I open the import linked workbook it goes directly to the edit links box....when I open the domestic linked workbook I get an unable to open file pop-up.  If I go into the domestic inventory file and touch the file and resave it then will go directly to the edit links box.  I am sooooooo confused.  What I am doing wrong?  I have included the macro I am using although I do not know how that could possible be the problem.  I would appreciate any help that could be provided.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
'Format ID as General
               Columns("C:C").Select
               Selection.NumberFormat = "General"
               'Format conversion as number no decimals
               Columns("H:H").Select
               Selection.NumberFormat = "#,##0"
               'Format standard cost and standard cost each as number five decimals
               Range("F:F,I:I").Select
               Selection.NumberFormat = "#,##0.00000"
               'Set font to nine pitch
               Cells.Select
                    With Selection.Font
                    .Name = "Tahoma"
                    .Size = 9
                    .Strikethrough = False
                    .Superscript = False
                    .Subscript = False
                    .OutlineFont = False
                    .Shadow = False
                    .Underline = xlUnderlineStyleNone
                    .ColorIndex = 1
                    End With
               'Set length of item description field to fifty
               Cells.Select
               Selection.Columns.AutoFit
               Columns("B:B").Select
               Selection.ColumnWidth = 50
                    With Selection
                    .HorizontalAlignment = xlGeneral
                    .VerticalAlignment = xlBottom
                    .WrapText = False
                    .Orientation = 0
                    .AddIndent = False
                    .IndentLevel = 0
                    .ShrinkToFit = False
                    .ReadingOrder = xlContext
                    .MergeCells = False
                    End With
               'Set row to autofit, vertical alignment on bottom
               Cells.Select
               Selection.Rows.AutoFit
                    With Selection
                    .HorizontalAlignment = xlGeneral
                    .VerticalAlignment = xlBottom
                    .WrapText = True
                    .Orientation = 0
                    .AddIndent = False
                    .IndentLevel = 0
                    .ShrinkToFit = False
                    .ReadingOrder = xlContext
                    .MergeCells = False
                    End With
               'Rename tab sheet1 to Items
               Sheets("Sheet1").Select
               Sheets("Sheet1").Name = "Items"
               'Define Name ItemList
               ActiveWorkbook.Names.Add Name:="ItemList", RefersToR1C1:="=OFFSET(Items!R2C1,0,0,COUNTA(Items!C1)-1)"
               'Define Name ItemLookup
               rowsa = Sheets("Items").Cells(Rows.Count, 1).End(xlUp).Row
               ActiveWorkbook.Names.Add Name:="ItemLookup", RefersToR1C1:="=Items!R2C1: R" & rowsa & "C9" & Chr(32)
               'Go to first cell on worksheet
               Range("A1").Select
               'Add New Worksheet
               Sheets.Add
               'Hide Items worksheet
               Sheets("Items").Select
               ActiveWindow.SelectedSheets.Visible = False
               'Protect sheet1
               ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True, Password:="xxxxx"
               ActiveSheet.EnableSelection = xlUnlockedCells
               'Protect workbook
               ActiveWorkbook.Protect Structure:=True, Windows:=False, Password:="xxxxx"
               'Save with same name as opened
               ActiveWorkbook.Save
               'Close active workbook
               ActiveWorkbook.Close
[+][-]07.30.2008 at 02:49PM PDT, ID: 22125110

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.03.2008 at 10:27AM PDT, ID: 22148189

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]08.04.2008 at 02:37PM PDT, ID: 22156473

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.04.2008 at 03:25PM PDT, ID: 22156776

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 11:11AM PDT, ID: 22163451

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Basic Programming, Microsoft Excel Spreadsheet Software
Sign Up Now!
Solution Provided By: roos01
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628