Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.
All Tags » Macro (RSS)

Browse Site by Tags

Showing related tags and posts accross the entire site.
  • msgbox - cancel sub when selecting "No"

    Need help finishing this code for a msgbox. If no is selected I want the Sub to End/Cancel, If yes is selected Sub will run its course. I have found plenty of info on making a msgbox but none show how to end the sub when no is selected. Sub Insert_Row() Dim Response Response = MsgBox("Are Cells...
    Posted to VBA (Forum) by Gila on Wed, Dec 10 2008
  • VBA - Sort on a protected sheet

    The sheets I'm presenting will change in number of rows (i.e. the range is not constant) It is also a shared work book with protected sheets and rows, allowing the user to insert new rows. I'm trying to write a macro that will sort by column "g" in row 1 which is the header row but...
    Posted to VBA (Forum) by Gila on Thu, Dec 4 2008
  • Using the Macro Name, within the Code, as a 'Find' value in a list

    Hi there, Firstly apologies if something similar has been answered before, or i've missed something very obvious, i'm by no means a VB expert. Background I have a Worksheet broken down into Sections, at the top of each Section I have a Macro for Users to Show/Hide (the Rows for) that Section...
    Posted to VBA (Forum) by WanderingStar on Fri, Nov 14 2008
  • Moving data from rows to columns & adding blank lines

    Can anyone help? I'm after a macro which will search a row from column J onwards. If it finds data in a cell it will add a blank row below the row it's searching in & then paste the data to column D in the new row. It will continue to add new rows & copy the data in to them until it finds...
    Posted to VBA (Forum) by Ian O on Mon, Sep 8 2008
  • automate sending worksheet to distribution list

    Using Excel 2003, I would like to automate the process of creating a worksheet from a template, got this working, then automate sending this worksheet to a defined distribution list. I tried recording a macro but it stops after the email is called without entering the recipients and then sending the...
    Posted to VBA (Forum) by rfk100 on Fri, Aug 15 2008
  • Assign an acronym of the relevant plant in a separated column

    Dear forum users and bloggers, I would be really greatful if you could help me with the following matter. I need to assign the "freight payer" which is either the sending or in some times the receiving plant, e.g. OT for Ontario etc. I have two columns "sender" and "receiver"...
    Posted to VBA (Forum) by laguerriere on Mon, Jun 30 2008
  • Re: ODBC reading excel file over internet

    The code is currently opening the file as you describe. The main reason we are implementing this code is for speed reasons. Based on that, I am trying to find the absolute fastest way to read this data. I had done some testing on my local PC and known network locations (with regular drive letters), and...
    Posted to VBA (Forum) by Pgmer on Mon, Apr 21 2008
  • Re: How to determine if a cell has a comment

    Hi, Or you could make a function out of it... Public Function HasComment(rngRef As Range) As Boolean On Error Resume Next HasComment = CBool(Len(rngRef.Comment.Text)) End Function
    Posted to VBA (Forum) by Zack Barresse on Sat, Apr 19 2008
  • Re: Creating Your Own Help screens

    Thanks. Specifically, I mean through the Excel fx feature. When you invoke fx , you get the list of arguments with entry fields, a description of the function, and the opportunity to select help for that function. I haven't found any way to add the description and help.
    Posted to VBA (Forum) by Anonymous on Wed, Apr 9 2008
  • Creating Your Own Help screens

    How do you write a help file for an Excel VBA function that is displayed when a user clicks "help on this function"
    Posted to VBA (Forum) by Anonymous on Wed, Apr 9 2008
Page 1 of 2 (16 items) 1 2 Next >
Copyright Excel User Group and the relevant contributors, 2008. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.