+ Reply to Thread
Results 1 to 4 of 4

Query regarding dialogue box when running a macro

  1. #1
    Registered User
    Join Date
    11-13-2012
    Location
    Worcester
    MS-Off Ver
    Excel 2010
    Posts
    26

    Query regarding dialogue box when running a macro

    Hi All

    I have got the following code which currently inserts a new blank line whenever the informaiton in column a changes.

    Please Login or Register  to view this content.
    What i am trying to do is make the macro work so that the user can select at the time the macro runs what column to use. For example if I wanted to insert a blank line whenever the data in column h changes you would input column number 8 when you run the macro.

    Any help gratefully received.

    Thanks

    Stephen

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,837

    Re: Query regarding dialogue box when running a macro

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    11-13-2012
    Location
    Worcester
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Query regarding dialogue box when running a macro

    Many thanks. Seems to work perfectly.

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,837

    Re: Query regarding dialogue box when running a macro

    My pleasure.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Pesky dialogue box keeps VBA code from running smooth...
    By Christopher76 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-03-2013, 10:39 AM
  2. Automatically running a query and a macro when opening the workbook
    By MDNerey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-03-2013, 07:34 PM
  3. [SOLVED] Running Macro Twice to Execute VBA Query
    By zhb12810 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-20-2012, 12:12 PM
  4. macro with dynamic web query running slow
    By bauke in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-03-2007, 11:03 AM
  5. Nasty 400 when running web query macro
    By mwalker.web in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-29-2006, 03:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1