+ Reply to Thread
Results 1 to 6 of 6

Macro to Show/Kill Form Formatted Data Table

  1. #1
    Forum Contributor
    Join Date
    08-17-2013
    Location
    Asia
    MS-Off Ver
    Excel 2021
    Posts
    271

    Macro to Show/Kill Form Formatted Data Table

    Hello Seniors,

    Sample workbook in 1997-2003 Excel format with data sample is attached.

    There are two worksheets, say, 1) Dashboard, and 2) Flash.

    Worksheet "Flash" has formatted Table in Range B1:L8 (tabulation summary), which i want to display in Worksheet "Dashboard", as it it is formatted through USERFORM. Could this be done through taking formatted data table as picture and displayed on Form?

    Formatted Table in worksheet.range B1:L8 could be vary in terms of coverage of columns/row, depending on actual data.

    A separate button in worksheet Dashboard should be there to close this USERFORM in Dashboard worksheet, which should be 'killed' and not hided.

    Good if USERFORM can also be killed using 'ESC' button on KeyBoard

    How to do it through VBA macro, so that Formatted Table could be flashed in Form, and can be closed (killed).

    Good if custom Title could also be given to Userform as Header taking Input from content of Cell A1.

    Data is for DISPLAY only, no further changes.
    Attached Files Attached Files
    Last edited by analystbank; 07-04-2018 at 06:28 AM.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Macro to Show/Kill Form Formatted Data Table

    This doesn't use a UserForm. It copies the table as a picture and shows\hides it on the Dashboard. The picture is also linked to the original table. So if you change something on the table, the picture also changes.

    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 07-04-2018 at 06:34 AM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    08-17-2013
    Location
    Asia
    MS-Off Ver
    Excel 2021
    Posts
    271

    Re: Macro to Show/Kill Form Formatted Data Table

    @AlphaFrog,

    Thanks, this is exactly what i wanted, So nice of you.

    Only one suggestion, As i am flashing on Dashboard worksheet which already has data, other tables, Charts, etc and this picture is posted above it, background color overlaps from worksheet having other chart and pic in above macro, text, chart, picture etc, so there is overwriting (image appears overlapped on existing data, table, chart) etc which makes it difficult to read the content of Picture.

    How this can be improved? Otherwise it is perfectly alright, but with existing data it it not readable.

    DashBoard already has many data, table, chart on which this picture should be temporarily flashed as you have rightly done. I am just trying to put dark background on data range table itself with text color white or so to see, if this can be done.

  4. #4
    Forum Contributor
    Join Date
    08-17-2013
    Location
    Asia
    MS-Off Ver
    Excel 2021
    Posts
    271

    Re: Macro to Show/Kill Form Formatted Data Table

    Done, sir, I changed formatted table color and text, and it serves the purpose. Thanks a lot.

  5. #5
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Macro to Show/Kill Form Formatted Data Table

    Put a White background fill in the Flash table with border lines around each cell. It will look the same as before, but it will no longer be a transparent background in the picture.

    You can move the picture to any location you want by changing the "B18" in the code.

  6. #6
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Macro to Show/Kill Form Formatted Data Table

    You're welcome.

+ 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. vba to show pivot table in tabular form
    By yossip in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-22-2017, 05:34 AM
  2. [SOLVED] Importing or Changing the data from a FORMATTED Excel Worksheet into Tabular Form
    By Zinnia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-27-2015, 04:12 PM
  3. Show Table Data in Printable form
    By sjennings007 in forum Excel General
    Replies: 10
    Last Post: 01-03-2014, 06:50 PM
  4. Using a formatted table as a form
    By mariahah in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-13-2013, 11:40 AM
  5. Macro Form Button auto copy down with data table when new row occurs?
    By xlyfe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2013, 06:16 PM
  6. Show table with grid lines in a user form
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-12-2009, 03:58 AM
  7. [SOLVED] How do I do? A personalized form, similar to Show data Form
    By Isaac in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-05-2006, 10:20 PM

Tags for this Thread

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