Forum Replies Created
-
AuthorPosts
-
Guillaume FinanceParticipant
Hi Adrian
The VBA function worked well 🙂
I can use it until this issue is fixed in a future release.Thanks,
GuillaumeGuillaume FinanceParticipantHi Adrian,
Do you think you could add a specific field (ParentPackage) to use for new packages only, so we can explicitly specify the line number in Excel of its parent package ? (there may a better way to select the parent package in Excel..). If empty, it will be associated with the first existing Package above it.
Another option could involve a boolean value to force creating the package under the first existing package above it
Expected result:
– PackageA
+ Package A3
+ Package A1
– Package A2
+ Package A2.1Option 1:
[line 4]- existing_PackageA [ParentPackage = empty]
[line 5]- new_PackageA3 [ParentPackage = 4]
[line 6]- Class5
[line 7]- Class6
[line 8]- new_PackageA1 [ParentPackage = 4]
[line 9]- Class1
[line 10]- Class2
[line 11]- Class3
[line 12]- new_PackageA2 [ParentPackage = 4]
[line 13]- Class4
[line 14]- Class5
[line 12]- new_PackageA2.1 [ParentPackage = 12]
[line 13]- Class4
[line 14]- Class5Option 2:
existing_PackageA [force_ParentPackage = false/empty]
new_PackageA3 [force_ParentPackage = true]
– Class5
– Class6
new_PackageA1 [force_ParentPackage = true]
– Class1
– Class2
– Class3
new_PackageA2 [force_ParentPackage = true]
– Class4
– Class5
new_PackageA2.1 [force_ParentPackage = false]
– Class4
– Class5Thanks
GuillaumeGuillaume FinanceParticipantHi Adrian,
The example I gave you worked.
However based on your explanations, if we create more than one Package + classes, they automatically become subpackages of the newly created sub package.
So if PackageA1, PackageA2, PackageA3 are all new, they don’t go under PackageA but as follows:
PackageA
PackageA1
PackageA2
PackageA3Do you think there’s any way round this?
thanks
GuillaumeGuillaume FinanceParticipantHi
I found the eaXL profile hidden cell A3, so found what I was looking for!
Guillaume
Guillaume FinanceParticipantThat was in response to #836 and the following information you provided :
With Excel 2013, we have a work-around to get over a problem which Microsoft have introduced with 2013. They changed some of the internals, which means we can’t embed excel inside EA. instead, excel will run in an external window. Same function, but not quite so nice to use. We are trying to get Microsoft to fix this problem, or at least document a work around, but they seem surprised by the issue!
-> I’m getting this embedded window issue with Excel2013. I agree this should be a new thread (not related with the NullRefException)
Guillaume FinanceParticipantI installed Office 2013 and Excel runs within an external window (no embedded window).
I ran the Office update without any change.Installed version : Excel 2013 (15.0.4535.1507) MSO (15.0.4551.1007) 64 bits
I’ve got Office pro plus 2013Guillaume
Guillaume FinanceParticipantHi
I just tried doing the same with interfaces and operations (Open ALL in Excel : Operations) and it doesn’t work either.
It would be worth I think to include interface elements.thanks
Guillaume -
AuthorPosts
Download a free trial
Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.
Download