vbe

  1. R

    Store lookup table in vbe module

    How can I store a lookup table in vbe module instead of a worksheet (hidden or visible). Is this possible? Or, could I pull the contents out of an existing lookup table, delete the workhseet, and have vba add a new worksheet and recreate the table? - Thank you, Rowland
  2. I

    Transferring data from cells to another sheet if criteria is met

    Hey guys, this is my first post and I really hope someone will be able to help me. So here is a little background on my project. I am an environmental engineer doing different risk/health assessments on various sites. My excel (2007) file has 4 sheets. The first three are based on increasing...
  3. M

    option button formula

    I'm brand new to the idea of macros, but I'm hoping this can be done without too much complication. I'm a teacher and I'm building a spreadsheet for a lesson. The students enter a yearly salary in box A. Then there will be several sections ("Housing", "Clothes", "Entertainment", etc.). Each...
  4. J

    Project explorer shows all in one list, why?

    Suddenly yesterday my Excel 2007 (on Windows 7/64) started behaving funny. When I open VBE the Project Explorer shows all "objects" in one long list in alphabetical order. Modules, forms, sheet-objects, even "ThisDocument" is placed in the same list. No headings except for the top one...
  5. paipimenta

    Keyboard shortcut to comment block in VBE

    I'm trying to assign a keyboard shortcut (Ctrl+Shift+C) to comment a block of code in the Visual Basic Editor. How do i go about doing this? I know there is a toolbar with a button for it, but **** the mouse... I want a keyboard shortcut! Thanks in advance...
  6. Jaafar Tribak

    Challenging problem : How to make Excel subclassing safe and stable ?

    Hi all. This has been intriguing me for years and i've looked and asked everywhere but nobody seems to know the answer. On most operating systems, subclassing office applications from within VBA crashes the application and worse yet, it can downright lock the whole system. this is a known...
  7. Jaafar Tribak

    Making the MouseWheel function in the VBA editor. No DLL or EXE needed - All done from within Excel !!

    Hi all, I have long looked for code that makes the mousewheel scroll the VBE code panes but I could only find some external programmes or dlls written in C. with a bit of trial and error and a couple of tricks, i have put together this code done purely with VBA as you can see which I hope...
  8. BartH

    Eventhandler VBE

    Hello, In this post (http://www.mrexcel.com/forum/showthread.php?t=39411) Tom Schreiner shows us a variation on Chip Pearson's VBE explanation, to run a procedure with a custom made command in the VBE menu or toolbar. I am experimenting with this and run into the following problem: I want to...
  9. 2

    Merging Rows of Data. Not straighforward.

    Hi I hope someone out there can help me. I'm trying to merge rows in a spreadsheet that contains about 700-100 rows and 8 columns of data. There is nothing to identify the groups except its vertical linear position so any merging of data that occurs cannot affect adjacent cells. The data is...
  10. A

    Writing a formula into VBE

    Hello. My problem is how to write a formula in vb. I searched everywhere, and nothing I write a code, but i get overflow error. Option Explicit Const Pi = 3.14159265358979 Const B = 2 Const C = 1.5 Const D = 8 Const E = 4 Private Sub chkRezultat_Click() Dim X As Single, Y As Single, Z As...
  11. U

    How to programatically delete/remove a vbproject from project explorer

    Thanks for reading this post. I am programmatically looping through N workbooks (open workbook, process, close workbook). When I close the workbook, I am left with a "footprint" of workbook in project explorer, even though the workbook itself is closed. This is causing problems as well as...

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