VBA Questions and Answers

Recent IT Questions

21 - 40 of 156

SQL or VBA code to loop through two columns of data

I have a database table with 196000 rows (product code and related product codes) and the columns are: product code link product 000507 000123 000507 000456 000507 000789 000508 123456 000508 654321 000508 879456 000508 123789 etc ...

View Answer   |  May 19 2009  12:34 AM GMT
VBA, Microsoft Access
asked by Limey

  5 pts.

String Comparison VBA

I have two columns of string values in excel. They are part numbers so they are typically 6 - 10 characters and a mix of letters and numbers. The columns contain many like strings. That is, the part number is listed in both columns. I need a quick way to compare each string in one column with every...

View Answer   |  May 18 2009  2:02 PM GMT
VBA, Microsoft Excel, Strings
asked by RoyAdler

  5 pts.

Viewing sametime user status on lotus via vba

Hi. I am newbie in this vba-lotus work, and right now I need to know if there is any vba class that allows to see via code a certain user state on lotus and if the status is disconnected, send a mail to ask for getting connected. I really appreciated all help that you can give, including telling...

Answer Question   |  May 14 2009  5:44 PM GMT
Lotus Notes, VBA, VBA Class
asked by Jansaduster

  5 pts.

VBA format a cell based on range contents

I need to create a macro that goes in to a worksheet and looks at the contents of a range to see if it contains any number other than zero. If it does, I need it to turn a separate cell yellow. 'assign variables Dim rngSat As Range Dim rngSun As Range Dim wsOT As Worksheet ...

View Answer   |  May 14 2009  5:11 AM GMT
VBA, *RANGE, Conditional formatting
asked by VbaNewb13

  15 pts.

Access 2007: VB code to make a button press link to a specific record in another form

The database is for a set of components. One of my forms shows details about each component on a separate record (the property "Default View" is Single Form). The other form is a list of all components by component number displayed all together (the property "Default View" is Continuous Forms)....

View Answer   |  May 11 2009  9:59 PM GMT
Access VBA, Microsoft Access 2007, VBA
asked by VinDibo

  5 pts.

Copy/paste a record with VBA in Microsoft Access

how can I copy number of records from a form and paste them in another form with VBA, not with the right click, in msaccess? Thanks

View Answer   |  May 9 2009  3:37 PM GMT
VBA, Microsoft Access, Visual Basic for Applications
asked by Toli

  70 pts.

Replacing this ListBox code with Treeview code in VBA

I am importing the Board file and loading the data into treeview directly(Busname as parent node and NetName as Child node with delimitor as ! and i have taken the (myArray(i), "!")(1)) as Bus name and (myArray(i), "!")(2)) as Netname. Simultaniously i am tracking the Duplicate Netnames Listedin a...

Answer Question   |  May 4 2009  5:41 AM GMT
VBA, Microsoft Excel 2003, TreeView
asked by Maheshvba

  5 pts.

Microsoft Access: Hiding form fields with Null values

Hello, I have a table that has Name F1 F2 F3 F4 Wes x Bob x x Mark x x and so on. Certain names have a check mark "x" and others do not. I need to be able to pull up someones name and see a summary of what they have "x"'s in. I created a Columnar form that...

View Answer   |  Apr 28 2009  11:22 PM GMT
Microsoft Access, NULL values, Microsoft Access forms
asked by Wesleycrozier

  30 pts.

Link Outlook Calendar to Excel Spreadsheet

Hello I am new here and this is my first post. I am wondering whether is possible to link Outlook 2003 Calendar to a spreadsheet in the same way as you would link 2 spreadsheets. For instance if a new entry is created in the Calendar the spreadsheet would be updated automatically. So far the way I...

View Answer   |  Apr 28 2009  11:04 AM GMT
Outlook 2003 calendar, Excel 2003, Exchange 2003
asked by Yosiniro

  5 pts.

Microsoft Word 2003 VBA Endnotes

I have a report that I am creating in MS Word 2003 VBA. I need to place some text at the bottom of each section in a Footnote or Endnote. The report is not behaving and the Word Help is not helping, does anyone know a good site to explain how to use and give examples of using Endnotes and Footnotes?

asked by Flyght

  55 pts.

VBA How to get cpu usages and updated in every one hour,in with in the system.

How to get cpu usages and updated in every one hour,in with in the system.

View Answer   |  Apr 24 2009  4:45 AM GMT
VBA EXCEL 2003, VBA, Excel 2003
asked by Rajuaruna

  70 pts.

Picking values in the intersection of row and column values

In row 1(column 2-column11) i have location"<NAMES>"(all different) and in cloumn1 i have customer codes, and the values at an intersection of particular customer code & location are hard coded. I m giving the picking values for customer codes and locations from user defined data. The problem...

Answer Question   |  Apr 23 2009  4:40 AM GMT
Microsoft Excel, VBA, Microsoft Excel macros
asked by Gahlan

  5 pts.

ComboBox in Microsoft Excel VBA

HOW TO RUN A MACRO WHEN SAME VALUE IS SELECTED IN THE COMBO BOX IN EXCEL VB?

View Answer   |  Apr 22 2009  8:16 AM GMT
Microsoft Excel, VBA, Microsoft Excel macros
asked by Narmadha

  5 pts.

Paste values over a formula on condition of a column in same sheet

Hi, I need to create a macro for my spreadsheet. I will try to attach a sample of it if required and if someone can tell me how to do it. This may aid my description of what I want to do. Basically I need to run a check which does the following: If J2 = “X” – then select F2 and paste...

asked by Cmb80

  10 pts.

VBA EXCEL 2003 table coding

Trying to write VBA code taking daily averages from datalogger (144 values/day). Its placing the averages every 144 lines apart in excel sheet. Looking for coding to condense averages into table.

Answer Question   |  Apr 16 2009  9:13 PM GMT
VBA, Excel 2003, Microsoft Excel
asked by Bellyflop

  5 pts.

Meeting Invitation not updated in Calendar

I have created a COM Program in MS Access using VBA code which will send meeting invitation. Invitees are getting my invitation and after accepting it is not updating their calender. How to do this. I attached a sample tag for the same. If you want complete code I can post the same. Thanks for...

View Answer   |  Apr 14 2009  3:48 PM GMT
Microsoft Access, Beginner Access Programming, VBA
asked by Subbu2k9

  90 pts.

Microsoft Excel to VBA

We are working on a spreadsheet that we need to run with VBA. I need a field to hold "". when running it in VBA it gives me 4 to 8 "". How do I get it to just give me 2 ""?

View Answer   |  Apr 14 2009  3:16 AM GMT
Visual Basic for Applications, Microsoft Excel, VBA
asked by Chilipepperz3

  5 pts.

vba recorder issue

When I run excel 2007 and try to record a macro, it will not record any commands for inserting a wordart or editting the text of the wordart if one is already created on the spreadsheet. I am at a loss to determine the right commands without the recorder, and I can't figure out why it will record...

Answer Question   |  Apr 10 2009  11:28 PM GMT
VBA, Excel VBA, Excel 2007
asked by Lostinspace2000

  5 pts.

Microsoft Excel subtraction using VBA

I would like to have some coding in vb related to subtraction in Excel sheet.I have 2 sheets.I need to take data from 2 cells from the first sheet and perform subtraction and then placeresult in sheet2.I have huge amount of data in sheet1.I need to perform this operation with all the cells in...

View Answer   |  Apr 8 2009  11:26 AM GMT
VBA, Microsoft Excel, Visual Basic for Applications
asked by Devisri

  20 pts.

How to Create "Are you sure you want to ...." MsgBox

I am creating a userform at the bottom of which there are various commands including "Save". When you click on this I ahve written in a series of checks to make sure that all the fields are filled in correctly but after that I want an "Are you sure you want to save" box with the options Yes and...

View Answer   |  Apr 7 2009  7:10 PM GMT
Excel 2003, VBA, Excel macros
asked by Dontgetit

  105 pts.

21 - 40 of 156