vbe

  1. S

    Error 13 Type Mismatch

    Hey everyone! I am currently writing code to eliminate blanks in a table.. I have to set p = to various worksheets, but I continue to get type mismatch errors. I have tried re cataloguing them to Sheets() or Activeworkbook.Sheets(), etc. but to no avail... can anyone tell me what I am doing so...
  2. P

    Adding Connectors

    I am trying to add a connector to a selected shape. I want the user to be able to select the shape and then run the VBA that will use the selected shape and add a connector. Is this possible?
  3. S

    Autp Populate Cells on a Different Sheet within a Document

    I have been trying to figure this out for 3 days and am at the end of my rope. I am designing a spreadsheet for a construction firm. The workbook contains an the estimate, client proposal and the PO's for 3 different vendors. On the estimate I have a dropdown list for the vendor, category...
  4. O

    Textbox question using VBE

    Hi, Completely new at this and just having a play to see if it is something I can use at work. I have discovered this: Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean) If Intersect(Target, Range("Insert cells or range")) Is Nothing Then Else MsgBox...
  5. L

    Using VBA to Open another Excel File without file path

    I have 3 different workbooks that I'm working with. 2 of the workbooks are reports that are automatically saved to a random temporary internet file folder. I was wondering if I can somehow activate the 2 workbooks without knowing the file path since they will saved to a random folder every time...
  6. N

    [VB] How to manipulate the data to new table

    Dear All, I have this table contain both male and female information as below. I want to manipulate them to a new table with one attribute added as below. My input: <colgroup><col span="2"><col><col span="2"></colgroup><tbody> Male Female Time Tall Comment Jim 3/12/2016 188 Nicky...
  7. T

    VBA Code Window Display

    Hey, Has anyone ever run into the issue of not being able to resize the code window? I've attached an image and for the life of me don't know what I've done or how to reverse it. Image here.
  8. Z

    VBE Macro to Change Cell Themes in a Row Relative to a String of Text

    I explain what I want the macro to do in the picture and provide a basic layout of how the sheets are exported from an internet application. I wrote a macro to format the sheets from an unreadable formatting to a user-friendly format. However, I cannot figure out how to change the whole row's...
  9. B

    Close all code windows/panes in VB Editor

    Whenever I open the VB Editor all the code windows for (almost) all my add-ins and personal WB always open and totally clutter-up my current project. Is there a way to automatically close them ALL (I'd individually re-open the current project ones I need to work with) at once when the VBE opens...
  10. J

    EXCEL VBA: How to set a password to another VBProject programmaticaly

    <tbody> I have created a vba code that creates a new .xlms file, adding some code to that file and then my problem is that i cannot protect the VBPoject of that new file. Instead, i wrongly password protect the current VBProject (not the new...
  11. P

    Why this simple task is seriously difficult?

    Target Code: ' Insert Add-In menu with generate button and check trial/retification on workbook open Private Sub Workbook_Open() ' Call Trail/Rectificaton function Call objClsGeneral.fnTrial_OR_Recertification_versionCheck("Recertification", "09-Jan-2015", "SomeAppName") Set objcmd =...
  12. H

    Seeing values from other modules in the "Locals view"

    I have one module with all the public constants stored and cleared. When I am running a module with refers to this module, I can see neither the module nor its values. For me it seems like the VB-Editor is only able to show one module in "Locals" at the same time. Until now I have used the...
  13. D

    VBA userform with function list via VBE

    Hello out there. Can someone post a code example on how to show VBE userform with multipage via VBA, containing list of functions in current project, each page for each module correspondingly. I know how to create userform via VBE, extract module and function names to arrays and put them in...
  14. Guacamoley

    Macro to work out top 3 cell occurances

    Hi everyone. I have a database full of part numbers for example <TBODY> 0EV2310A06G01JU:S5065</SPAN> </TBODY> These can vary to having a vareity of symbols/letters/numbers (I am not sure if this makes a difference!) I am looking for help to writing a macro to run a report to show the top...
  15. A

    Password protected VBA module problem

    Password protected VBA module causes Excel to crash on debugs. Macros work fine if I open VBE and enter my password. I'm using Range.("This range does not exist").Select to force a debug. If I run my macro without entering my module password, the debug window appears and Excel crashes. If I...
  16. J

    VBE - How do I clear the auto-correct?

    I accidentally named one of my variables "count" (I'm new, give me a break.) As a result every time I try and use the Count property VBE autocorrects it to be "count" instead. For example rowCount = Selection.Rows.Count Will be auto corrected to read: rowCount = Selection.Rows.count The...
  17. E

    Excel Treeview help

    hi Guys, i have just found the treeview function within the user forms and would like to build one. i have looked at a few examples of the data needed but cant figure out the codes to import the information. to simplify it can someone please send me the makro or code for the following...
  18. B

    How do you import a module without adding a "1" at the module name?

    Hello, I have an addin that creates mulitple reports and since each of the report modules are updated by a different person, I have code that will delete the old module and import the new one for each one of the reports. The process goes as follows: Delete each of the old modules. Import...
  19. J

    Created Sheets not appearing

    Hi all, I have some code which creates new sheets based on a list elsewhere in the workbook. They all create fine. However, when I look in the code/VBE, I can't see any of the created sheets, except the one currently selected in Excel. If I manually go through each of the sheets in excel...
  20. S

    Embed Spreadsheet in VBA UserForm

    I've done this before in Excel 2003 but I can't seem to do it in Excel 2007 because the control isn't there in the additional controls list. In Excel 2003 it was called Microsoft Office Spreadsheet 11.0 and when ticked gave an extra item on the control toolbox which allow you to draw an excel...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top