VBA code to say Yes or No if any VBA code is present in ActiveWork
Using XL 2003 & 97
Would like hit Ctrl+Shift+V and have an answer either yes or no as to the
presence of Any VBA code in the Active Workbook.
I do know that about the VBA editor/Explorer or to press the Run Macro
button and get a list from various sources .
I would like to stay at the keyboard and process a series of macros
including one to let me know if I even need to evoke the VBA explorer.
There is no bootstrap macro to tell you whether you have macros
or not. If there were there would be no limit to virus writers.
David McRitchie, Microsoft MVP - Excel ...Sum after Sorting #2
There is an Excel Spreadsheet like the following
Project Value Sum
Power 120 354 (Power + Computer)
In other words, the formula for 354 is "=B2+B3"
There is a requirement that we have to sort the first
column in ascending order but keep the sum still be the
value for Power & Computer (as follow)
Project Value Sum
AV 123 354
I have tried a number of ways but still cannot get it
fixed. Is there any suggestion ?
Based on your example in the second table it lo...Quote Number
I would like for users to go into a form and reserve a quote number. Would
like the quote number to be auto-assigned using mmddyy (then count 01 to xx
for the day) followed by their initials. Basically result would be 02280801TR
for the first then 02280802TR etc....Not mandatory for the Initials if you
could solve the autonumber mixed date field...Initials could be another field
in the database and could combine later.
I would place the below on the AddNew button:
DoCmd.GoToRecord , , acNewRec
Me.txtQuoteID = StrReverse(Format(Date, "mm")) & Format(Date, &quo...Print, Merged Cells, and VBA
I'm looking for a code that will help me with a print job
for a worksheet. There are a lot of merged cells and a
lot of "IF"s to be used in the VBA for range selection.
Thanks in advance,
...Use VBA to update Access table or Query from Excel
Can I use VBA to update Access table or Query from Excel?
Thanks in advance
> Can I use VBA to update Access table or Query from Excel?
Of course, using ADO or DAO.
Jan Karel Pieterse
Thanks. I think ADO is what I want.
But I am not only want to export from excel to access.
I want to edit some data in access table.
For example, Access has a table "ProductList"
I want to use Excel to call the product by "Pro...Add sequences of positive then negative numbers
I have a long list of random positive and negative numbers in column A.
Id like to be able to add sequences of positive then negative numbers
as they occur.
For example... in the list
... i would add the positive numbers until the next number in the list
was negative, then add the negative numbers till the next number was
The answers for the above list would be 5, -9, 10 , -4, 21, -5, 11
Any ideas ?
judoist's Profile: http://www.excelforum.com/mem...auto number
I was wondering how to go about setting up a work sheet to so as soon as I
click in the first row that I will be adding data it would automaticly mark
that row Number 1 and when I enter new data in the second row it
automatically puts in 2, and so on? Thanks
Hi Eddie - Try this: (Excel 2003)
You don;'t give much info about how your spreadsheet is set up so try this:
Let's assume you have all of your field names in the first row and the A col
will hold the auto number.
1. In a2 type: =cell("row",a2)
2. Select Data from the menu
3. Select Form from the dro...VBA and Scheduled task in Outlook
Hi, how can I:
a) pull the query from somewhere and send it by e-mail automatically. E.g. I
want to take a temperature table from
where 2009/7/10 is the date of yesterday put it into an e-mail and send it
automatically each day at 8 o'clock?
b) if this is not possible, how can I send an e-mail with the attachment
c:\Documents\query20090710.xls each day at 8 o'clock?
my boss wants this automatized, I know how to write the VBA code for Excel,
but don'...Jump to the item in a list as the first letter is pressed
I have couple of large lists with alphabetised data. Is it possible to have
intellisense, like if P is pressed on the keyboard, it should jump to P, if H
then jump to first name with H as the first letter, like that. It does not
happen with the lists I have(by default)?Is this possible?
Here is one way you could try, but it will go there and filter at th
same time (you may or may not want it) :shock:
If your list is in contiguous rows and columns, meaning no blank rows
no blank columns, then setup autofilter. The dropdown list accept
Autofilter is setup using toolbar&...RMA and serial number tracking
We are using GP 9.0
Has anyone else seen where you create a crosship RMA for a serial tracked
item, then receive, close and post the invoice -- and the serial for the
failed part that you recieved back into a new inventory site, is still
showing up as an equipment item for the customer. Further, the serial # you
sent out as a replacement does not show up anywhere in the customer's
equipment list. It does not even do the "serial # supersession" within the
failed part's record.
How are you supposed to accurately track what a customer has returned and
what you sent t...Last Number in a column to that is not equal to zero
I have an inventory worksheet that I am having trouble with. The total daily
inventory column updates daily. At the end of the column, I want a formula
that gives the most recent inventory number. For instance
The final field in the inventory column would read 19693.
There will always be a whole number for inventory, so the zeros will be
replace with the number once the daily inventory is completed.
one thing you can try. If you have a header row add +1
SalesAid Softw...Total number of items in a sale should be displayed in POS screen
Before you tender a sale it is always a good idea to compare the number of
items the customer is purchasing to the number of items rung in. If your
customer is buying 10 items and only 9 have been entered, you want your
salespeople to know this. RMS does not display the total number of items in
a sale anywhere in the POS screen so verifying that all items have been
entered is difficult and therefore not done.
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree&qu...Numbers in Columns
Hey! I am wondering if anyone knows an easy way to write a column of numbers
(say beginning with 401 and ending with 499) without having to type in every
number - whats the easiest way to do that?
type the 401 in a cell
move the cursor over the bottom right hand corner until you see a + (this is
the Autofill handle)
hold down your control key and then your left mouse
drag down the rows
let the mouse go and then the control key.
"kellyaek" <firstname.lastname@example.org> wrote in message
news:13B3469B-46A2-4A5B-A619-CE83F5C4DDDF@micro...vba select field
having a button on a form, is it possible to select only some fields
(all from the same table) of the current record instead of all fields?
I've tried this code:
Forse dipende dei dati nel record.
but it selects ALL fields in the form.
On 10.04.2010 18:01, remigio wrote:
> having a button on a form, is it possible to select only some fields
> (all from the same table) of the current record instead of all fields?
> I've tried this code:
> RunCommand acCmdSelectRecord
&...VLOOKUP in VBA
On the worksheet I can insert in a cell
=VLOOKUP(C5, Hobokee.xls!AcsLow, 2)
and it works perfectly, looks up the value in column 2 of the range named
AcsLow in the same workbook.
But elswhere I want in a macro to lookup the same table and assign the
result to a variable BalAmt.
BalAmt = VLOOKUP(AccNum, Hobokee.xls!AcsLow, 2) does not work.
It gives a function not defined error on Hobokee. If instead of Hobokee I
put Workbooks("Hobokee"), it gives function not defined error for VLOOKUP
which it changes to VLookup.
I have been overVLOOKUP in the Help file and see nothing wrong.
W...Number Format #10
I've got a large spreadsheet which was imported. Apart from the first 2
columns, the rows consist of number which I need to filter, but this isn't
working. Then I noticed an apostrophe before each number in every cell,
which doesn't show in the cell but up in the formula/text bar.
I've set all the columns to numbers but the apostrophe won't go away.
Please can someone tell me how I can without having to go into each cell as
there are hundreds.
Select all the columns with these "numbers" in them, then right click the
tab at the bottom of t...Add a set number to a random entered number
I have to start a vehicle service record and am trying to add the 6000 mile
service interval to the mileage at service number.
A B C D
1 6000 12000
2 12125 18125
3 18200 24200 etc
A is the mileage at service and C is the next service due.I am trying to do
this without having a cell with a line of 6000 in it and the formula eg
=SUM(A1:B1) in the C cell.Is this possable?Hope some one can help.
HTH. Best wishes Harald
"Cyclops" <Cyclops@discussions.microsoft.com> skre...Turn pc speaker on/off with vba code
Is this possible?
I found something here on how to do it withVBScript. You can probably modify
it to work in VBA
> Is this possible?
I'll have a go
(I need to improve my web searching skills)
"Barb Reinhardt" wrote:
> I found something here on how to do it withVBScript. You can probably modify
> it to work in VBA
> ...Revision conversion to a number suggestions ?
I have a problem with Revisioning conversions. I wonder if any one has any
ideas on how to do this better. One of the elements in my database is
drawing numbers and their Revision letter. ie drawing GA123 Revision A . the
next drawing would be GA123 B and so on. My problem is when the drawing
rolls all the way to GA123 AA or Even 3 Letters in the revision ie Rev ABZ.
Currently i take the asc value of each letter and add them togeter to get a
number representing the revision. example Rev AB would be 65+66 = 131 so
when i compair drawings to see if a new one exists i can just...Excel VBA/Macro programming for beginners
I know a bit VB 6.0 programming. Will it help me to write exce
vba/macro(same thing?).can anybody help me by providing some fre
websites where i can have informations/codes for VBA/macro.
Please tell me how could i make a *command Button * in a cell in th
sdebu_2000's Profile: http://www.officehelp.in/member.php?userid=430
View this thread: http://www.officehelp.in/showthread.php?t=118812
Posted from - http://www.officehelp.i
Try David McRitchie's "getting started with mac...highest number
Hi This is my first post.
please could anyone tell me how:)
if i have for instance 7 cells with different numbers in each cell' ie
21' 56' 87' 99' 21' 33' 15' how can i make another cell automaticall
show the highest number from the other cells (in this case the cel
would show number 99.
Message posted from http://www.ExcelForum.com
If they're really numbers (not text), then
and there's an =min() function, too.
And a couple of siblings you may want to read about in excel's help:
"jim w <...Numbering Raws
My query gets date from several tables: Tpurchase, TProducts, TContract,
After ordering the query data by Contract ID (many contracts to one dealer)
and by purchase date (many purchases to one contract), I would like to add
another field as raw number.
This is so i could later create a running sum for the purchase amount by
purchase date rather then by purcahse ID. The problem is that purchases from
earlier dates may have higher ID since they are entered in delay.
So... How do I created numbering for the orders?
On Thu, 20 Dec 2007 09:11:04 -0800, doughnut
<doughnut@d...Built-in Number Format "#,##0_);(#,##0)"
I want to display my negative numbers in parentheses and should be able to
use one of the built-in number formats.
I select (Format > Cells)(Number tab) and in the category listbox, select
The last two items in the Negative numbers listbox do not have parentheses.
The built-in number format that should contain parentheses,
"#,##0_);(#,##0)" has actually changed to "#,##0_);(#,##0)"
Has anyone seen this before ?
I could create a custom number format but this should be built-in.
You'll get the last two number options to include ()...Number of categories
I need to make a macro to change the between tick-mark labels with a value
depending of the total numbers of rows, but I do not now the VB code to put
the number of categories in the graph.
I'm not a expert in VB coding, any help is appreciated,
> I need to make a macro to change the between tick-mark labels with a value
> depending of the total numbers of rows, but I do not now the VB code to put
> the number of categories in the graph.
> I'm not a expert in VB coding, any help is appreciated,
> Thanks, jos
...Loading a Form from VBA
Hi all, I'd like a module to open and load a form in my Access 2003
database... How can I do this?
Use the OpenForm method. Look in the Help file for details.
Doug Steele, Microsoft Access MVP
(no e-mails, please!)
"Mike" <email@example.com> wrote in message
> Hi all, I'd like a module to open and load a form in my Access 2003
> database... How can I do this?
On Jul 18, 10:58 am, "Douglas J. Steele"