VBA Questions and Answers

Recent IT Questions

101 - 120 of 156

programming

Tag# 301-22-AB02-103, I want this Tag format in this formate XXX-XX-NNXX-XXX, it means in place of Numbers i want 'X' and in Place of alphabet i want 'N', do you know how can you we do that in Excel? i wana to change numeric values in 'X' and alphabet in 'N' form, and my friend did already, through...

View Answer   |  Jul 10 2008  6:48 AM GMT
VBA, Visual Basic for Applications, Microsoft Excel
asked by 071785

  5 pts.

Add module to remote access database

I have 100+ access 2000 .mdb's that I need to add a specific module to. What I want to do is loop through all mdb files in a specific directory and add a standard module to each one. Any ideas as to how to accomplish this from within access vba would be appreciated. I intend to do this from within...

View Answer   |  Jun 28 2008  5:53 PM GMT
VBA, Access, Access 2000
asked by Ttstudio

  45 pts.

Copy past in excel using VB

i want to cut data in a colunm H and copy it in column B. i tried to record macro and run it. but i am not getting the values in column B. i am using excel macro and vb code to do this. i understand that the data in colum is cut and the data is not retrived while it paste in column B. Can Any one...

View Answer   |  Jun 24 2008  10:26 AM GMT
VBA, Visual Basic for Applications, Microsoft Excel
asked by Krishsrikanth

  5 pts.

Changing Color in a Cell

I am updating a spreadsheet each month which is automated. I have written a macro to update this spread. Each month I append four columns to the end of the spread sheet and update the data in the spreadsheet. The problem that I am having is trying to figure out how to update the heading color for...

View Answer   |  Jun 19 2008  12:06 AM GMT
VBA, Visual Basic for Applications, Microsoft Excel
asked by Kioh46

  50 pts.

How do I get a macro to move between workbooks?

I have a template (workbook #1) that I would like to copy data out of and paste into the workbook that I run the macro from (workbooks 2, 3, 4, 5...). The problem is that when I record the macro from workbook, excel codes the name of that workbook, making the macro unusable in workbooks 3, 4,...

View Answer   |  Jun 19 2008  1:19 AM GMT
VBA, Microsoft Excel, Variables
asked by Bondsmith

  5 pts.

Executing a Stored procedure using Excel Macro

I am an amateur in SQL programming. Could you please tell me how to execute a Stored procedure using Excel Macro (VBA Programming) and then save the record set into different Excel sheets?

View Answer   |  Jun 13 2008  6:36 PM GMT
SQL, VBA, Stored Procedures
asked by SQL Server Ask the Experts

  2445 pts.

use vba to draw graphics in ms word

can vba create drawing "free hand" or by joining forms and circles together (putting one near another is good enough)

View Answer   |  Jun 6 2008  4:04 PM GMT
VBA, Microsoft Word, objects
asked by Elad Karako

  240 pts.

Separation of data

I want to copy a part of a table from Adobe to Excel, but all the data are getting copied to one cell. How can I use VBA to separate this set of data each one into different cell? Thank you beforehand.

View Answer   |  Jun 3 2008  7:02 AM GMT
VBA, Visual Basic for Applications
asked by Lyu

  5 pts.

Overwrite previous record with VBA code

I am doing a training exercise. All works OK as per the notes with a new record being added when the OK button is clicked. Now I want a script that overwrites the previous record and not to add a new record / row on pressing OK. Pls help with code

View Answer   |  May 13 2008  1:28 PM GMT
VBA, Visual Basic for Applications, Microsoft Excel
asked by Battler

  5 pts.

Open Import window via code in MS Access

Within a MS Access application, I would like to have the window that is opened when you select: File | Get External Data | Import via code.

View Answer   |  May 9 2008  3:14 PM GMT
Database, Microsoft Access, VBA
asked by Rjwilcox

  30 pts.

Save Access 2007 format as 2000 format with VBA

how can i save the curent database as a 2000 format with vba

View Answer   |  May 6 2008  10:23 AM GMT
Microsoft Access, VBA, Visual Basic for Applications
asked by Dave b

  10 pts.

How Can i restrict the user to insert next record

Hai all, I have a requirement that , i have to display the data from a table in the subform in a datasheet view mode. I should validate the fileds in such a way that i can restrict the user to insert a next record when the one of the fields in the previous record is null. And also i should...

View Answer   |  Apr 30 2008  11:23 AM GMT
Microsoft Access, VBA, Visual Basic for Applications
asked by VBAccess

  5 pts.

Saving form calculations to tables

I have a simple calculation on the input form a-b. It is calculated on the form but I cannot figure how to save it to the table

View Answer   |  Apr 28 2008  11:48 PM GMT
VBA, Visual Basic for Applications, Microsoft Excel
asked by Rv4949

  5 pts.

How to save a document as current date ?

I'm using VBA in excel 2000 to create a macro that saves out a spreadsheet with today's current date. I cannot figure out the code that will achieve this function. Help Please

View Answer   |  Apr 22 2008  7:15 PM GMT
VBA, Visual Basic for Applications, Microsoft Excel
asked by Data Mgt

  5 pts.

Combo box and VBA

The two possible selections in an Excel combobox: Debt & Common Stock. Let's say that the combobox resides in cell B3. If Debt is selected from the box- I want the following fields to show up two rows below the combobox, all in the same column: Issue Date, Maturity Date, Interest, Seniority, Use...

Answer Question   |  Apr 16 2008  10:18 PM GMT
VBA, Visual Basic for Applications, Microsoft Excel
asked by Nkd

  5 pts.

microsoft access 2007 & Outlook 2007

Hello, I am running office package 2007. I was wondering if anyone has found a way that i could set reminders in access 2007 and i would get a reminder email when the time comes closer. I was also wondering if access could auto pull from a date catagory and set it to have outlook send a message...

View Answer   |  Apr 15 2008  8:50 PM GMT
VBA, VBScript, Microsoft Office 2007
asked by Itguy1509

  220 pts.

VBA Auto Protect

How can I make the worksheets in Excel automaticaly protected on date

View Answer   |  Apr 7 2008  10:21 AM GMT
VBA, Visual Basic for Applications, Excel 2003
asked by Georgesal001

  10 pts.

Excel-Macro Help

I'm creating a spreadsheet for a business (for my uni work) and i need to create a booking form and from that be able to save the customers information. I've created the booking form, and created a button to save the customer information, using a macro for it to save. The problem is when the...

View Answer   |  Apr 6 2008  3:02 PM GMT
VBA, Microsoft Excel, Excel macros
asked by Forresterdanielle88

  5 pts.

easy way to automate uploading data from a word document to a spreadsheet?

I have a spreadsheet to verify datafields for. This needs to test for example state all the valid entries. I do not want to save off a spreadsheet form of the template i am testing one for each data value I need to test. Is there an easy way to create many spreadsheets off of a data file I create...

View Answer   |  Apr 4 2008  3:01 PM GMT
VBA, Visual Basic for Applications, Microsoft Excel
asked by Juls

  45 pts.

Switching custom views in Excel when filtering

I have a very large spreadsheet that I navigate using custom views. I change views using macros because I have a couple of other commands that I want executed as well. I also commonly filter the rows of the spreadsheet. However, when I switch views, the filter is turned off, and I would like it...

View Answer   |  Mar 27 2008  3:13 PM GMT
VBA, Microsoft Excel, Excel 2003
asked by Tsbarr

  15 pts.

101 - 120 of 156