14

As per bluefeet's answer in this question:

If you have tags that need to be aliased, then create a Meta post asking for it.

Can we alias the following to please:

Most of these aren't active in documentation yet, but hopefully they can be aliased before they get requested?

21
  • Good to think on your feet! Jul 29, 2016 at 5:15
  • What exactly will "aliasing" them do? While the syntax and some of the general methods obviously overlap, there are some distinctions (more between the underlying versions than with the overarching vba) that are still valuable to preserve
    – RGA
    Jul 29, 2016 at 8:02
  • 3
    @RGA meta.stackoverflow.com/questions/328653/… The idea being that everything sits under vba and we have topics for things like excel or word etc... At the moment excel-vba is just getting filled with things that should be in vba anyway so rather than the constant clean-up it's easier to alias the tags rather than try and educate everyone that doesn't get the concept Jul 29, 2016 at 8:09
  • 3
    SO MUCH YES. ALL OF THE YES
    – RGA
    Jul 29, 2016 at 8:10
  • @RGA we were talking about it for good while in the VBA Lounge you should drop by some time :) Jul 29, 2016 at 8:12
  • Also meta.stackoverflow.com/questions/328653/…
    – Knu
    Jul 29, 2016 at 8:12
  • 2
    @Knu I think you would need to post as a question, I imagine they pick the requests up from question tags or something? Jul 29, 2016 at 8:13
  • Yeah, a separate feature request would be good for that. Anything new requested in a comment is pretty much untrackable for us. Thanks. (cc @Knu)
    – Adam Lear StaffMod
    Oct 19, 2016 at 3:36
  • @AdamLear meta.stackoverflow.com/q/336514/248058
    – Knu
    Oct 19, 2016 at 8:48
  • @MacroMan At the moment excel-vba is just getting filled with things that should be in vba anyway That is because the tag itself seems to imply some sort of special relationship to vba. If the tag would be aliased (or renamed) to something language-neutral, and would include a few examples in other languages, that would go a long way to discouraging this kind of duplication.
    – Zev Spitz
    Nov 6, 2016 at 0:52
  • @ZevSpitz There is a special relationship. VBA exists primarily for MS Office automation... Nov 6, 2016 at 1:08
  • 1
    @MacroMan By that logic, since all programs are meant for programming, then everything should be tagged programming. In the end, 1) VBA is used for much more than just Office Automation (WIA, WMI, Regex, IE+MSHTML), and 2) automating Excel requires knowledge of a different object model than automating Word.
    – Zev Spitz
    Nov 6, 2016 at 1:24
  • @ZevSpitz So your alternative proposal is a tag for "word-automation" that consists of examples of every possible language that can be used to automate word? Yes VBA can do all those other things - from an Office application - using it to do those tasks as it's sole purpose would be pointless. It's a specific language developed for a specific reason. It's not a general purpose OOP or scripting language and so it's specific enough to warrant its own tag. Nov 6, 2016 at 1:31
  • Yes you can automate Office using C#.NET - you can do a whole manner of things with a .NET language because it's been designed to be used in a general way under a framework. You wouldn't develop a web app with VBA because it's not what it was designed for. Nov 6, 2016 at 1:32
  • @MacroMan examples of every possible language They would be examples of the Word object model not the language, and which languages would be used to demonstrate said parts of the API would depend on author interest and improvement requests.
    – Zev Spitz
    Nov 6, 2016 at 1:43

1 Answer 1

-2

This is a terrible idea. All these object models can be consumed from languages other than VBA -- .NET lanugages, and other COM-supporting languages (e.g. Python, Delphi, C++).

It might be better to alias them away from . For example, and should both alias to , or or some similar variant.

9
  • 1
    I think you're missing the point of documentation. VBA is a language that can be documented. Word-Automation is far too broad and wouldn't sit well in documentation. Finally, VBA is a language specifically written for Office Automation so if you're not going to document its use with Office applications then what will you document it with? Nov 6, 2016 at 1:06
  • @MacroMan Word Automation is far too broad So let's subsume it under vba (and Excel / Powerpoint / Access / Outlook / Visio / Project automation as well. :) Word Automation wouldn't sit well in documentation. Why not? The Word Automation object model has objects such as Application, Range, and Paragraph, each representing a different part of the Word document or application. Unless you mean because each example is generally written in a single language? But that doesn't have to be the case, and the plan is to ...
    – Zev Spitz
    Nov 6, 2016 at 1:15
  • @MacroMan include a language switcher which would make multi-language examples easier to write.
    – Zev Spitz
    Nov 6, 2016 at 1:17
  • You're missing my point entirely. The aim of this request isn't to document Excel/Word using VBA - but to document VBA under a single tag ("VBA") using Excel/Word etc as examples of the language in use. VBA shouldn't have a documentation example for "Excel.Range" but for the purpose of showing IntelliSense and the use of the "Set" keyword it would make sense to use that as an example. Nov 6, 2016 at 1:17
  • @MacroMan So where would Excel Automation examples written in C# go? For some reason, questions about Excel Automation are tagged excel-vba if they are written in VBA, but not if they are written in C#.
    – Zev Spitz
    Nov 6, 2016 at 1:18
  • @MacroMan Aren't you proposing that the entire word-vba be aliased into vba?
    – Zev Spitz
    Nov 6, 2016 at 1:20
  • Your point is around documenting Excel COM - I'm talking about documenting a specific language. Completely different things. Nov 6, 2016 at 1:20
  • Yes, because word-VBA is VBA. It's just an example of the same language. It doesn't require a separate tag in docs. Nov 6, 2016 at 1:21
  • Let us continue this discussion in chat.
    – Zev Spitz
    Nov 6, 2016 at 1:24

Not the answer you're looking for? Browse other questions tagged .