+ Reply to Thread
Results 1 to 3 of 3

Macro issue due to pop up message

  1. #1
    Registered User
    Join Date
    11-05-2019
    Location
    singapore
    MS-Off Ver
    Win10
    Posts
    2

    Macro issue due to pop up message

    Hi everyone,

    I've written a code to click on hyperlinks in my excel spreadsheet and subsequently save those hyperlinked excel spreadsheets in local folder before closing them. These spreadsheets are links within a website.

    However, on first instance, I always encounter a pop up message as shown below and the macro could not proceed further. I've tried "Application.DisplayAlerts = True" but doesn't seem to work.

    Thus would like to ask the community for help please. Thank you!

    Capture.PNG

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,641

    Re: Macro issue due to pop up message

    Hi there,


    I've tried "Application.DisplayAlerts = True" but doesn't seem to work


    Shouldn't that be

    Please Login or Register  to view this content.

    Regards,

    Greg M

  3. #3
    Registered User
    Join Date
    11-05-2019
    Location
    singapore
    MS-Off Ver
    Win10
    Posts
    2

    Re: Macro issue due to pop up message

    Hi Greg,

    Here's a extract of my code. I will change both to false but the same message box still pop out.

    Range("I34").Select
    Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
    Application.DisplayAlerts = False
    ActiveWorkbook.SaveAs Filename:= _

    "<\FOLDER\final excel >" & Format(Date, "DD MMM") & ".xls", FileFormat:= _
    xlExcel8, Password:="", WriteResPassword:="", ReadOnlyRecommended:=False _
    , CreateBackup:=False
    Application.DisplayAlerts = True
    ActiveWindow.Close

+ 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] vbacode save as issue with message invalid or unqualified reference
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-08-2017, 11:42 AM
  2. VBA and Hyperion Message issue
    By darrenb.1982 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-15-2015, 04:16 AM
  3. Paste Special Macro issue or macro look up issue
    By notavirusfan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-18-2012, 11:41 AM
  4. Message Box Issue
    By jamer02 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-28-2011, 10:38 AM
  5. VBA - Error 400 Message & Linked Sheets Issue
    By magikmel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-25-2010, 08:37 PM
  6. Error message issue in IF Formula
    By Gooford in forum Excel General
    Replies: 1
    Last Post: 10-26-2009, 07:38 AM
  7. [SOLVED] Timed Message Box Issue
    By MSweetG222 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2006, 07:10 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