Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged vba

0 votes
847 views
1 answer
    Is there a faster way to delete rows ? I just need to delete rows with odd row numbers from row 3 to ... If Next toDelete.Delete shift:=xlUp See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
677 views
1 answer
    Question is about sorting data in VBA. Suppose I have a Range("A1:A10") which I want to sort in ... Has someone ideas about this problem? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Cobbled this test procedure together in an Outlook 2013 module from other posts, which should display a popup box, ... Sub End Select End Sub See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
641 views
1 answer
    I am trying to send emails from a specific account but it always sends from my main no matter how much ... Set olAccountTemp = Nothing End Sub See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
763 views
1 answer
    Can we read scripts or lines of code to a module in vba? Like we have the include function in php. ... another macro and pass the parameters. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
657 views
1 answer
    I am trying to use the ADO to read in a series of text files into a worksheet. I am running into problems when the majority ... P,0 1,1 5,2 6,3 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
692 views
1 answer
    I have been using VBA to some degree, using this code: Sub ExtractEmail() Dim OlApp As Outlook.Application Dim ... the 'To' Textbox. Thanks See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
759 views
1 answer
    If I type the following into the immediate window I get Runtime error '6': Overflow. MsgBox 24 * 60 * 60 ... 60 = 86400 should comfortably fit. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
606 views
1 answer
    As a spreadsheet developer, I am trying to stitch together two sets of rows: one from a web query to a web ... there another way to do this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
725 views
1 answer
    looking through the forum and can't find what I need. I have 100+ sheets with unique sheet names and data ... maybe a vlookup wrapped around it? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
916 views
1 answer
    I have Office 2003 VBA code that uses the technique described here to embed an image in an HTML message using ... the Outlook 2010 object model? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
889 views
1 answer
    I have following code under a button. When clicked it just closes the current Excel sheet but not the ... The following window still appears. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
669 views
1 answer
    The code snippet below changes the data validation state of a cell and runs when the Excel-2003 worksheet is unprotected ... code ' ... End With See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
671 views
1 answer
    I'm working on a VBA project based in a workbook. The code opens a new workbook and calls an external ... prevent this from happening? Thanks! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
618 views
1 answer
    This thread discusses a problem I've been having with ActiveX objects in an Excel spreadsheet. It's a mess ... much prefer a better solution. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
793 views
1 answer
    I would like to get the active opened MailItem (whether it's a new mail or a received mail) ... Application.ActiveInspector.currentItem End Sub See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
697 views
1 answer
    Ok, so I consider myself an Excel VBA expert (even though I've not done much with it for a while) but I'm ... "For Each" method hasn't worked. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
722 views
1 answer
    so I have a userform with comboBox serving as a dynamic-search box. The data needed to be searched is located ... Set emplDict = Nothing End Sub See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I have a textbox and a listbox on userform. I want to filter the values in listbox based on the value I enter in ... = i + 1 Next fCell End Sub See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
678 views
1 answer
    How would I loop through cells B1 to J1 and add them to a range if they meet a certain criteria. For example ... to Range1. Thanks for the help! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
732 views
1 answer
    I'm trying to debug an Outlook 2007 VBA script that's fired by a rule. I've set a breakpoint in the ... get the script to stop on breakpoints. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
697 views
1 answer
    I'm trying to do a domain lookup in vba with something like this: DLookup("island", "villages", "village = ... same. Have I missed something? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
649 views
1 answer
    I would like to write a VBA function to highlight specific text within an excel cell. Is this possible? I've been ... = vbRed End If End Sub See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I am using ms access and i want to add a button to browse for a file, get the name of the file and ... Right$(strPath, 1) End If End Function See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
848 views
1 answer
    I am trying to "COUNT" the number of a certain object in column I (in this instance) across multiple sheets. ... advance for your time and help. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
875 views
1 answer
    I have an MS Word document including a table. I am trying to find and replace text via VBA using the ... of the content within the table. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
775 views
1 answer
    In VBA, I can create objects one of two ways: 'First way Dim myCol1 As New Collection 'Second way Dim ... between the myCol1 and myCol2 objects? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
831 views
1 answer
    I use this code to export a pdf file from a word document. Before exporting I need to check first if a ... = Nothing Set adbPageView = Nothing See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...