Visual Basic For Applications Questions and Answers

Recent IT Questions

21 - 40 of 75

Convert numbers to text with VBA (ie 10 to be Ten)

I want to conver number to word ie. if 10 it to be Ten, if 540 it to be five hundred forty so on

asked by AnandaDebnath

  260 pts.

PDF save as TXT file (VBA)

HI EXPERTS PLEASE SOLVE IT I WANT TO SAVE AS TXT FILE FROM PDF FILE THROUGH VBA (XLS) CODING; I WANT TO GET THE DATAs AS TEXT MODE FROM A SPECIFIC PDF FILE IN EXCEL SHEET PLEASE ANSWER IT ANANDA DEBNATH DELHI, INDIA

Answer Question   |  Mar 31 2009  4:01 AM GMT
VBA, Visual Basic for Applications, Microsoft Excel
asked by AnandaDebnath

  260 pts.

VBA - selecting middle portion of a string

I'm having trouble pulling the middle portion out of a dynamic string. Ex: Orginal String 1 = John Doe, Age 35 (asd) Original String 2 = Tom Thompson, Age 100 (jkl) I need the code to produce... New String 1 = 35 New String 2 = 100 I've tried to research this, but am new to VBA and a lot of...

View Answer   |  Mar 30 2009  10:14 PM GMT
VBA, String manipulation, Excel 2003
asked by McNitro

  155 pts.

Excel 2003 Help: How to delete duplicates from specific colums and criteria

Hi I have already sent my question here: http://www.vbforums.com/showthread.php?p=3477514#post3477514 But I will ask the same again: In my Excel file I have several columns and lots of rows. I want the macro to check the column named REF (let say it's in the B column). And it will check if...

asked by Groom

  5 pts.

Macro toolbar buttons

what format are they and how do i use them

asked by Bumblbee

  10 pts.

Visual Basic code

how to copy data to another sheet using visual basic

View Answer   |  Mar 13 2009  9:19 PM GMT
Visual Basic, Visual Basic for Applications, VBA
asked by Geekhead

  5 pts.

Need Help With Multiple Conditions and Constraints for Access 2007 VBA Event

Hi, I’m working with VBA for On Click Event procedures in Access 2007. My knowledge of Visual Basic is rudimentary and I've come against a business rule I can't even begin to figure out how to code. I work at a college and was asked to build a database for a student conference we're hosting....

asked by Dataempress

  60 pts.

Looping to create new workbooks using a set "transaction" number

I'm playing around a bit and can't figure out why the following code does not save a total of 5 files in My Documents(default) The files should be named in a sequence of 1 - 5 (In my Excel spreadsheet (A1)=1 and (A4)=5) The code works once through, but when ".SaveAs Filename:=Start" comes back...

View Answer   |  Mar 6 2009  10:49 PM GMT
VBA, Excel VBA, LOOP statement
asked by McNitro

  155 pts.

Can any one correct this Microsoft Excel VBA code?

ANY ONE CORRECT THIS Sub fill_series() Dim myrange As Range Set myrange = ActiveCell.Offset(0, 5) Range("N9").FormulaR1C1 = "Apr-2008" Range("N9").Select Selection.AutoFill Destination:=myrange, Type:=xlFillDefault End Sub

Answer Question   |  Feb 24 2009  9:47 AM GMT
Excel VBA, VBA, Visual Basic for Applications
asked by Sa29153

  40 pts.

How to update data using Microsoft Excel VBA?

I HAVE A CELL "A1=NUMERIC VALUE" & "A2=NAME OF PARTY" WHICH IS UPDATED EVERY MONTH AND I WANT TO SAVE IT WITH "DATA" SHEET WITH EACH PARTY NAME(CELL A2) AND ITS MONTHWISE VALUE(CELL A2).HOW CREATE DATA SHEET WITH MONTHLY COLOUM NAME I.E : DATA SHEET: NAME OF PARTY APRIL08 MAY08 ...

Answer Question   |  Feb 24 2009  9:46 AM GMT
Excel VBA, VBA, Visual Basic for Applications
asked by Sa29153

  40 pts.

VBA/VB code to edit hyperlinks in PDF files

Hi, How do we read the content in a pdf file. I have some sample pdf where I have to edit already existing hyperlinks . Thanks in advance.

Answer Question   |  Feb 4 2009  12:16 AM GMT
Visual Basic, VBA, PDF hyperlinks
asked by Iamfromhyd

  20 pts.

Outlook 2003: trim leading spaces from email subject with VBA macro

Hello, some email clients send emails with an extra leading space added to the subject. As a result message sorting on subject in outlook 2003 does not work correctly: these messages are considered to have a different subject and so the entire conversation is split in two seperate conversations,...

View Answer   |  Jan 26 2009  11:37 AM GMT
Outlook, Outlook 2003, VBA
asked by Slay

  40 pts.

Visual Basic If Then Statement

HELP! I normally don't write code or develop databases but I am trying to build a MS access database. I have one table (departments) with a list of departments and one table (112) with department, question text and question answer columns. I am trying to build a form where user selects department...

Answer Question   |  Jan 8 2009  9:53 PM GMT
Visual Basic, IF statement, IF Then Else
asked by Williams777

  10 pts.

SpinButton linking to an occupied cell

Can a spin button be linked to the cell that it is located in? I have about 100 spin buttons that I need in this sheet and don't want to individually link each one! Thanks!

View Answer   |  Dec 12 2008  0:00 AM GMT
VBA, Visual Basic for Applications, Spreadsheets
asked by Sleibbra24

  5 pts.

VBA to print to specific printer with print button

In Access 2007 how do I use VBA code in my print button to print to a "specific printer" for my report.

View Answer   |  Dec 11 2008  1:05 AM GMT
Microsoft Access, VBA, Visual Basic for Applications
asked by RPJ

  5 pts.

Microsoft Access 2007: Using an IF statement

I want compare a field in one record to the same field but in the next record. For example I have this IIF statement: IIf(([MAILADDRESS]=[MAILADDRESS]),True,False) This will compare the MAILADDRESS in the same record but I want to compare that same field but in the following record. How do i do...

Answer Question   |  Dec 11 2008  1:00 AM GMT
Microsoft Access, VBA, Visual Basic for Applications
asked by Servent1

  5 pts.

Microsoft Access menus

How do you setup menus using MS Access?

View Answer   |  Nov 28 2008  7:29 PM GMT
Microsoft Access, VBA, Interface design
asked by Danljonessr

  10 pts.

Search Excel Macro Help!

I do not know scripting and i really wish i did, any help would be greatly appreciated!I have an excel document that I need to search through for a list of words, when of the words from my list is found, i need the word it found to be put into a new column.

View Answer   |  Nov 28 2008  3:24 PM GMT
VBA, Visual Basic for Applications, Microsoft Excel
asked by Abrkadabragimmeahandle

  5 pts.

VB_Combo_Like_VBA

Hi Experts in VB 6.0 Please Tell me how I code for combo just like Access form eg. In Access Form's Combo -- when we start type any letter then nearest matching data should be selected and auto also showing during typing in the combo box Question : Please give any idea for VB 6.0 Combo --- so...

View Answer   |  Nov 21 2008  6:29 AM GMT
VBA, Visual Basic for Applications, Visual Basic 6
asked by AnandaDebnath

  260 pts.

How to paste data directly from Excel to PowerPoint graphic as data using Excel VBA

I've been trying to search for ways to copy data from a spreadsheet onto the datasheet of a graph in an open spreadsheet. I am unfamiliar with VBA code, but got it to copy and paste to the correct slide, but only as text. I have been unable to select the actual existing graph and paste the data in....

View Answer   |  Nov 19 2008  4:53 PM GMT
VBA, Visual Basic for Applications, Microsoft Excel
asked by Charm

  20 pts.

21 - 40 of 75