Sample Code Publication

Denny57

Board Regular
Joined
Nov 23, 2015
Messages
185
Office Version
  1. 365
Platform
  1. Windows
Does anyone know of a publication that provides readily explained samples of code that would benefit those non-programmers / software developers amongst us and that helps to understand Excel VBA and some of the most frequently used and / or required actions.

I have a number of reference books , some for beginners others are more in-depth, but I can never seem to be able to find the simple solutions to requirements.

I have spent hours trying to resolve simple issues such as formatting a textbox into Currency, automatically running macros / modules when a User Form is opened and trying to copy data into a large number of cells without having to create a separate line of code for each textbox. Unless you are fluent in VBA then trying to find a solution is a minefield. (I have a solution for calling from an Array of Columns and a range of rows, but this code cannot be readily adapted where the information for each IF condition where the matching to consecutively named TextBoxes need to be applied by rows and not columns, as the syntax and code is different but finding the correct information is almost impossible for us novices

Many thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
IMO, since there are thousands upon thousands of bits of information for objects and their methods, properties and events I'm going to say there's no easy way to connect what anyone wants to do with all the millions of possible solutions. It takes time to learn the basics for any Office application, which seems to me to be the foundation of what you're trying to research. I rely heavily on Google and M$ documentation on the object models for Office apps and I have to believe that without that foundation, it is hard to find info related to your needs because you don't always know what questions to ask. For those situations, I find that search engines are the best place to start - especially if they present you with alternate suggestions on the question. Those suggestions might be better formed for the question you're asking.
This link might help, but I think success largely depends on knowing something about what you want to find.

Books are great and usually explain things well, but they are not usually sources for quick answers to issues. They're more like long term courses but are probably a good option for rounding out your knowledge.
 
Upvote 0

Forum statistics

Threads
1,215,446
Messages
6,124,897
Members
449,194
Latest member
JayEggleton

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