Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

VBA Visual Basic for Applications (Microsoft) | Forum profile

Forum profile page for VBA Visual Basic for Applications (Microsoft) on http://www.tek-tips.com. This report page is the aggregated overview from a single forum: VBA Visual Basic for Applications (Microsoft), located on the Message Board at http://www.tek-tips.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "VBA Visual Basic for Applications (Microsoft)" on the Message Board at http://www.tek-tips.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: Tek-Tips Forums - VBA Visual Basic for Applications (Microsoft) (site profile, domain info tek-tips.com)
Title: VBA Visual Basic for Applications (Microsoft)
Url: http://www.tek-tips.com/threadminder.cfm?pid=707
Users activity: 3 posts per thread
Forum activity: 67 active threads during last week
 

Posting activity on VBA Visual Basic for Applications (Microsoft):

  Week Month 3 Months
Threads: 67 182 611
Post: 180 511 1,819
 

VBA Visual Basic for Applications (Microsoft) Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
SkipVought
40
user's latest post:
Excel = Enter Static Date when...
Published (2009-12-16 14:11:00)
Laurie, See, that was pretty painless AND it can be pretty fool-proof, if you were to add some sheet protection to protect that E3 cell from being tampered with, if necessary. Skip, Just traded in my old subtlety... for a NUANCE!
fumei
16
user's latest post:
Word 2003: Make copy of document
Published (2009-12-16 17:23:00)
Let's start with the following...before I have to eat some humble pie. from the standard installed Help.... Quote: Add method as it applies to the Documents object. Returns a Document object that represents a new, empty document added to the collection of open documents. expression.Add(Template, NewTemplate, DocumentType, Visible) expression    Required. An expression that returns a Documents object. Template...
PHV
16
user's latest post:
Create error msg based on...
Published (2009-12-16 15:29:00)
I'd try this: If Val(oFld("Text36").Result) < Val(oFld("Text39").Result) Then Hope This Helps, PH. FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions? FAQ181-2886: How can I maximize my chances of getting an answer?
RandySS
9
user's latest post:
Quotes Appearing
Published (2009-12-14 22:10:00)
Thanks, PH!
BrianWen
6
user's latest post:
Word 2003: Make copy of document
Published (2009-12-15 02:30:00)
fumei: Well, I don't know about Office 2003, because I haven't gotten it to work yet (I haven't tested my latest alterations). However, in Office 2007, you're wrong. I CAN create make a new document, based of a doc (not DOT). It gets all content but attachedtemplate is the template the first document was created from... Unless I'm completely misunderstanding what you're saying, you're wrong. A simple...
TonyJollans
6
user's latest post:
Speech Object error
Published (2009-12-16 07:45:00)
I just cut and pasted the code into a new workbook - to which I added three textboxes - in Excel 2003, and it worked for me. I don't know what Outlook has to do with it, or are you saying the workbook is a mail attachment? Just tried that, still works, this time in 2007. In one test I clicked the 'X' to shut Excel while it was running (a bit too trigger happy) and it did give me that error when it interrupted the code but...
jupops
6
user's latest post:
Macro to concatenate cells in excel
Published (2009-12-16 06:23:00)
Good Morning John This code is great (and also very instructive), but just one more quick question. can it carry to the next row automaticallt, combinding the cells until it reaches a blank row, because the Files that are sent to me often  go down 1700 rows, Regards Jupops
diehippy
5
user's latest post:
email from excel using vba using...
Published (2009-12-07 12:15:00)
Hi Skip, It works, that is brillant, I can not thank you enough for this, I thought I was going to lose my mind (hopefully not) can I use a simlar range code for creating the filename as I need to use the selected cells data from the third sheet Many Thanks again you have been a absolute star Diehippy    
combo
5
user's latest post:
Speech Object error
Published (2009-12-16 02:23:00)
Hi Skip, running in 2003: the same error, help for Speech object says that Dictation and Command & Control installation is optional (I have Text to Speech toolbar icons disabled), additionally, don't know why, vba accepts only double 'Object': Application.Speech.Speak .OLEFormat.Object. Object .Text    combo
ChewDoggie
4
user's latest post:
Running VBA Code
Published (2009-12-10 13:13:00)
or did you mean that when a USER edits a formula, it doesn't trigger the Worksheet_Change Event ? Sorry, I didn't understand. Chew 10% of your life is what happens to you.  90% of your life is how you deal with it.
 

Latest active threads on VBA Visual Basic for Applications (Microsoft)::

Tek-Tips Forums
Started 4 weeks ago (2009-11-20 13:50:00)  by SkipVought
hi, Don't know if any of this may help. I think the culprit is your printer or printer driver... CODE ' 'turn OFF ScreenUpdating ' Application.ScreenUpdating = False ' 'reference the Worksheet object for ALL related object calls ' With Worksheets("Form") For i = StartRow To EndRow .Range("RowIndex") = i 'For Footer...
Thread:  Show this thread (6 posts)   Thread info: Macro Printing in Excel 2003 Crashes Excel Size: 4,320 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Macro Printing in Excel 2003 Crashes Excel :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
Tek-Tips Forums
Started 2 days, 8 hours ago (2009-12-16 08:50:00)  by SkipVought
Hi, You might get better results in one of the many MS Access forums. But here's a shot -- Change the format of your date string to the UNAMBIGUOUS yyyy/mm/dd format. Your dd/mm/yyyy just may be causing the import manager some heartburn, cuz, Bill Gates & Co probably expect mm/dd/yyyy, just guessing. Skip, Just traded in my old subtlety... for a NUANCE!
Thread:  Show this thread (3 posts)   Thread info: Problem with TransferText Size: 836 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Problem with TransferText :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
Tek-Tips Forums
Started 1 day, 6 hours ago (2009-12-17 11:15:00)  by SkipVought
Hi, ThereUare ( Programmer ) How about posting the code that you have generated so far. Skip, Just traded in my old subtlety... for a NUANCE!
Thread:  Show this thread (8 posts)   Thread info: Count Until Selected Word Size: 576 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Count Until Selected Word :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
Tek-Tips Forums
Started 2 days, 4 hours ago (2009-12-16 13:06:00)  by SkipVought
Hi, Right-Click the Sheet Tab and select View Code This put you in the Worksheet Code Window for the sheet that you want to code this event. The EVENT is the Worksheet_Calculate event, since, I assume that D3 contains a FOLMULA and will not actually change. CODE Private Sub Worksheet_Calculate() If [D3].Value = 1 And [E3].Value = "" Then [E3].Value = Date End Sub Skip, ...
Thread:  Show this thread (9 posts)   Thread info: Excel = Enter Static Date when Reaching 100% Size: 995 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Excel = Enter Static Date when Reaching 100% :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
Tek-Tips Forums
Started 1 day, 4 hours ago (2009-12-17 13:13:00)  by Gavona
Here is the macro I use to do that CODE Sub PvtFieldsSumComma() OldCalc = Application.Calculation Application.Calculation = xlCalculationManual Application.ScreenUpdating = False Dim PvtField As PivotField For Each PvtField In Selection.PivotTable.DataFields With PvtField .Function = xlSum .NumberFormat = "#,##0" .Caption = Replace(.Caption, "Sum of", "") ...
Thread:  Show this thread (3 posts)   Thread info: Macro to format Pivot Data field Size: 1,010 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Macro to format Pivot Data field :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
Tek-Tips Forums
Started 1 week ago (2009-12-11 10:23:00)  by BrianWen
Of course, I could save the document again, but that requires the document to be open in some way and that might not always to the case.
Thread:  Show this thread (14 posts)   Thread info: Word 2003: Make copy of document Size: 191 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Word 2003: Make copy of document :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
Tek-Tips Forums
Started 2 days, 2 hours ago (2009-12-16 15:29:00)  by PHV
I'd try this: If Val(oFld("Text36").Result) < Val(oFld("Text39").Result) Then Hope This Helps, PH. FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions? FAQ181-2886: How can I maximize my chances of getting an answer?
Thread:  Show this thread (4 posts)   Thread info: Create error msg based on formfield calculation result using VBA Size: 463 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Create error msg based on formfield calculation result using VBA :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
Tek-Tips Forums
Started 2 days, 5 hours ago (2009-12-16 12:04:00)  by PHV
I'd replace this: Activecell.Value with this: xlApp.ActiveCell.Value Hope This Helps, PH. FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions? FAQ181-2886: How can I maximize my chances of getting an answer?
Thread:  Show this thread (9 posts)   Thread info: If activecell.value = "" then not working Size: 463 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: If activecell.value = "" then not working :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
Tek-Tips Forums
Started 3 days, 6 hours ago (2009-12-15 10:54:00)  by anotherhiggins
First, I assume that C1 is actually "Y " (with a space after the "Y")? Otherwise there's no way for Excel to know to put a space there. And, FYI, cells are referred to by column first, then row - so it's C1, not 1C. I happen to have something around that I wrote a while back that should work for you. To use it, just select the first column of cells that you want to combine. In your example, ...
Thread:  Show this thread (4 posts)   Thread info: Macro to concatenate cells in excel Size: 9,079 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Macro to concatenate cells in excel :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
 

Hot threads for last week on VBA Visual Basic for Applications (Microsoft)::

VBA Visual Basic for Applications (Microsoft)
Started 1 week ago (2009-12-11 10:23:00)  by BrianWen
Of course, I could save the document again, but that requires the document to be open in some way and that might not always to the case.
Thread:  Show this thread (14 posts)   Thread info: Word 2003: Make copy of document Size: 191 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Word 2003: Make copy of document :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
VBA Visual Basic for Applications (Microsoft)
RE: Running VBA Code - 11 new posts
Started 1 week, 2 days ago (2009-12-09 16:10:00)  by SkipVought
Hi, Put a BREAK on the first execuatble statement of the code. Make a change on the sheet. Observe if the break occurs. Skip, Just traded in my old subtlety... for a NUANCE!
Thread:  Show this thread (11 posts)   Thread info: Running VBA Code Size: 602 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Running VBA Code :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
VBA Visual Basic for Applications (Microsoft)
Started 2 days, 5 hours ago (2009-12-16 12:04:00)  by PHV
I'd replace this: Activecell.Value with this: xlApp.ActiveCell.Value Hope This Helps, PH. FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions? FAQ181-2886: How can I maximize my chances of getting an answer?
Thread:  Show this thread (9 posts)   Thread info: If activecell.value = "" then not working Size: 463 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: If activecell.value = "" then not working :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
VBA Visual Basic for Applications (Microsoft)
Started 2 days, 4 hours ago (2009-12-16 13:06:00)  by SkipVought
Hi, Right-Click the Sheet Tab and select View Code This put you in the Worksheet Code Window for the sheet that you want to code this event. The EVENT is the Worksheet_Calculate event, since, I assume that D3 contains a FOLMULA and will not actually change. CODE Private Sub Worksheet_Calculate() If [D3].Value = 1 And [E3].Value = "" Then [E3].Value = Date End Sub Skip, ...
Thread:  Show this thread (9 posts)   Thread info: Excel = Enter Static Date when Reaching 100% Size: 995 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Excel = Enter Static Date when Reaching 100% :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
VBA Visual Basic for Applications (Microsoft)
Started 1 day, 6 hours ago (2009-12-17 11:15:00)  by SkipVought
Hi, ThereUare ( Programmer ) How about posting the code that you have generated so far. Skip, Just traded in my old subtlety... for a NUANCE!
Thread:  Show this thread (8 posts)   Thread info: Count Until Selected Word Size: 576 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Count Until Selected Word :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
VBA Visual Basic for Applications (Microsoft)
RE: Quotes Appearing - 7 new posts
Started 4 days, 3 hours ago (2009-12-14 14:22:00)  by fumei
Quote: VB loads "12345" (with quotes) into variable Tag. It does? Where? How do you know this? CODE Sub Yadda() Dim Tag Dim VariableRow ' why is this not an explicit data type? VariableRow = 1 'Value entered into cell (1, 1) = 12345 Tag = Worksheets("Sheet1").Cells(VariableRow, 1).Value ' not here MsgBox Tag ' not here either Worksheets("Sheet1").Cells(1, 3).Value = Tag End Sub...
Thread:  Show this thread (7 posts)   Thread info: Quotes Appearing Size: 738 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Quotes Appearing :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
VBA Visual Basic for Applications (Microsoft)
Started 1 week, 1 day ago (2009-12-09 20:43:00)  by SkipVought
Hi, Check out the Names collection. Skip, Just traded in my old subtlety... for a NUANCE!
Thread:  Show this thread (6 posts)   Thread info: Need to change Named Range Names Size: 492 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Need to change Named Range Names :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
VBA Visual Basic for Applications (Microsoft)
Started 1 week ago (2009-12-11 06:10:00)  by PHV
I'd try this: FormName = Selection.FormFields( " EmployeeName " ).Result Hope This Helps, PH. FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions? FAQ181-2886: How can I maximize my chances of getting an answer?
Thread:  Show this thread (6 posts)   Thread info: VBA Form Problem - Getting value from the form into a variable Size: 553 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: VBA Form Problem - Getting value from the form into a variable :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
VBA Visual Basic for Applications (Microsoft)
Started 1 week, 1 day ago (2009-12-10 12:22:00)  by SkipVought
Hi, I'm a big fan of John Walkenbach, although I do not have his 2007 book. Quote: Also, would it be appropriate to introduce them to this forum throughout the course, or do they need to be in their professional career first? Yes, as long as you emphasize that Tek-Tips is not a site for homework assignments. I would also introduce them to sister site, www.Eng-Tips.com Skip, Just ...
Thread:  Show this thread (6 posts)   Thread info: VBA book for undergrad engineers Size: 950 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: VBA book for undergrad engineers :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"
VBA Visual Basic for Applications (Microsoft)
Started 3 days, 7 hours ago (2009-12-15 10:07:00)  by PHV
Perhaps something like this ? DoCmd.OpenForm "frm-presenter" , acNormal, , "roomId=" & Me!roomId DoEvents Forms!frm-presenter!roomId.DefaultValue = Me!roomId Hope This Helps, PH. FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions? FAQ181-2886: How can I maximize my chances of getting an answer?
Thread:  Show this thread (5 posts)   Thread info: Set Value With a Command Button Size: 556 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Set Value With a Command Button :: VBA Visual Basic for Applications (Microsoft) :: Tek-Tips Forums"