rubberduck

How to manage a local git repository using Rubberduck

给你一囗甜甜゛ 提交于 2020-01-14 09:32:33
问题 I'm using Rubberduck (Version 2.0.13) in combination with a local git repository for version control of my VBA project. Currently, I need to re-open the repository every time I start Rubberduck using Manage -> Open Existing Repository in the Source Control Window. Is there a better way to handle the local repository, e.g. can Rubberduck save this setting? I don't want to use an online repository, so I think the "Unsynced commits" tab is irrelevant for me. 回答1: This started as a comment, but

How to manage a local git repository using Rubberduck

不羁岁月 提交于 2020-01-14 09:32:10
问题 I'm using Rubberduck (Version 2.0.13) in combination with a local git repository for version control of my VBA project. Currently, I need to re-open the repository every time I start Rubberduck using Manage -> Open Existing Repository in the Source Control Window. Is there a better way to handle the local repository, e.g. can Rubberduck save this setting? I don't want to use an online repository, so I think the "Unsynced commits" tab is irrelevant for me. 回答1: This started as a comment, but

Properly handle Worksheet events when sheet's code-behind is implemented in a “proxy” interface+class

谁说我不能喝 提交于 2020-01-02 07:09:58
问题 I am trying to further build on this excellent example, which already implements the best practices discussed in these very insightful RubberduckVBA.com articles: Abstracting away from the Excel workbook/worksheet through proxy classes; Utilizing the UserForm control without messing with the state of its default instance; Adding "Apply" logic to #2. I would like to add to the existing example an event handler which (for simplicity's sake) reports the value of the upper-left cell of Sheet2's

Properly handle Worksheet events when sheet's code-behind is implemented in a “proxy” interface+class

独自空忆成欢 提交于 2020-01-02 07:09:11
问题 I am trying to further build on this excellent example, which already implements the best practices discussed in these very insightful RubberduckVBA.com articles: Abstracting away from the Excel workbook/worksheet through proxy classes; Utilizing the UserForm control without messing with the state of its default instance; Adding "Apply" logic to #2. I would like to add to the existing example an event handler which (for simplicity's sake) reports the value of the upper-left cell of Sheet2's

Can not see the add in after installing rubberduck?

余生颓废 提交于 2019-12-30 09:53:10
问题 I am new to rubberduck and have installed the latest version 2.0.11. After admin installed, I go to excel and check my com-addins and it does now show rubberduck there. I've check my programdata folder and yes, rubberduck is there with all files ect. It is just not showing up on my add in for excel. Help? OS: windows 7 pro Excel 2007 64bit 回答1: Disclaimer: I am one of the founders of the Rubberduck project Rubberduck is a VBE add-in, not an Excel or COM add-in; if it's properly registered as

How to set the Attribute VB_PredeclaredId using RubberDuck '@PredeclaredID

て烟熏妆下的殇ゞ 提交于 2019-12-13 14:43:16
问题 As a Rubberduck and OOP newbie I'm still learning how to use the software and take advantage of the programming techniques First time I saw about folder annotations (https://github.com/rubberduck-vba/Rubberduck/wiki/Using-@Folder-Annotations) it was quite intuitive how it worked. But then came the VB_Attribute Annotations (https://github.com/rubberduck-vba/Rubberduck/wiki/VB_Attribute-Annotations) which I didn't quite know how to made them work. Hope this saves some time to peolple looking to

RubberDuck Parse Error on Initial Refresh

删除回忆录丶 提交于 2019-12-10 17:46:55
问题 I installed RubberDuck and opened an Access 2007 Database I use as a code testing ground. When I click Refresh on the RD toolbar, the text continued to say Pending . After several click on the refresh button I open Settings and unchecked/Rechecked a random checkbox and clicked Ok . At that point my Refresh Button text showed Parse Error . I then closed all instances of MS Access and re-opened the database. I changed the minimum logging level to INFO , and clicked the Refresh Button. I do have

Code inspection - Named Range Reference

夙愿已清 提交于 2019-12-09 03:32:34
问题 After running the code inspections in Rubberduck 2.0.11.2453, there are 4 Range references that get tagged as: Member 'Range' implicitly references ActiveSheet The ranges in question are referring to Named Ranges. Is it necessary to qualify a named range reference? Private Sub RunORatio(ByVal TabNum As Integer) Dim Start As Integer, Cat As Integer, iMth As Integer, CurrentRow As Integer, Report As Integer Dim wsORatio As Worksheet, wsData As Worksheet, wsMacro As Worksheet Dim sMap As String,

Rubberduck UI submenus are disabled

限于喜欢 提交于 2019-12-06 17:29:16
问题 I've just installed the Rubberduck VBE add-in v2.0.11.2453 (MSIL) on Windows 10 OS. When I open a macro-enabled Excel workbook in Excel and launch the VBA editor, Rubberduck starts but all commands under the Rubberduck menu are disabled. What am I doing wrong? 回答1: Disclaimer: I'm heavily involved with the development of the Rubberduck add-in. You did nothing wrong =) In earlier alpha 2.x releases we discovered that launching the initial parse on startup was causing problems (violent crashes)

Rubberduck UI submenus are disabled

社会主义新天地 提交于 2019-12-04 23:09:47
I've just installed the Rubberduck VBE add-in v2.0.11.2453 (MSIL) on Windows 10 OS. When I open a macro-enabled Excel workbook in Excel and launch the VBA editor, Rubberduck starts but all commands under the Rubberduck menu are disabled. What am I doing wrong? Disclaimer: I'm heavily involved with the development of the Rubberduck add-in. You did nothing wrong =) In earlier alpha 2.x releases we discovered that launching the initial parse on startup was causing problems (violent crashes), because the add-in was, essentially, ready before the VBE had finished setting up the object model for the