Hello Conner,
I have a silly question, but worth to ask....
When you opened the you get a message box asking
you if you wanted to Disable or Enable Macros..
And of course did you click on Enable Macros?
Also you may want to check your Macro Secuity Selection..
If its on high...
Hello BHranek,
You may want to try the following:
Sub TransferActiveItems()
Dim rgLast As Range
Dim lLastRow As Long, i As Long
Dim wsOrigSheet As Worksheet
Dim wsDestSheet As Worksheet
Dim sIName As String
Dim vINumber As Variant
Dim dSDate As Date, dEDate As Date
'assign the 2 worksheets...
Hello vaneagle
Maybe by changing the following on your code:
If c.Interior.ColorIndex = Light_Yellow Then
nCol = c.Column
nRow = c.Row
Result = msgbox("The cell is at col " & nCol & " and row " & nRow, , "It Works!!")...
I want to open Access 97 through Excel.
the mdb file has a password...
and all i want to do is pull up a form from that database.
Could anyone provide some code...
thank you
tony_813
Tony813
Working with Access:
and the following is my problem:
ElseIf Tip.text = "" Then <---------------Something abut this line here...
MsgBox "Please Enter a Tip"
Me.Tip.SetFocus
I change the code using the value property. I dont get the error msg. However, it...
hello ...
Maybe this will give you an idea:
Sub test()
UserEntry = InputBox("Enter Time")
Result = TimeValue(UserEntry)
Worksheets("Sheet1").Range("A1").Value = Result
End Sub Tony813
Hello Everyone...
I came across this User Defined Function to retrive the UserName from Windows XP:
Public Declare Function getUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Public Const MAX_BUFFER_LENGTH = 100
Public...
Hello IanJE...
Maybe.. a combination of formulas would help....
Try:
="Years:"&(YEAR(A2)-YEAR(A1))&" Days: "&DATEDIF(A1,A2,"d")
Example:
A1: Has the start date 1/12/2001
A2: Has the end date 12/2/2002
A3: Has the formula above....
This would result: Years: 1...
Hello...althea..
you may use the SUMIF FUNCTION
EXAMPLE:
COLUMN 1 COLUMN 2
JOHN 5
JOHN 4
TONY 1
CINDY 1
=SUMIF(A1:A4, "JOHN", B1:B4) GIVIES YOU THE RESULT 9
THIS IS THE SYNTAX: SUMIF(range,criteria,sum_ranng)
Hope this...
Hello... I was just passing by....
... and yes I'm new...
...however, I thought I would say...thnx to bearjam...
...His posting.. allowed me to learn something new...
Tony_813
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.