Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default placement of shape (image) in bottom right corner of viewport

Hi,

I'm a tinkerer in excel and know a (small) bit of VBA but could use some help.
I have the following challenge: I'd like to have a logo on the bottom right corner of my excel worksheet view regardless of zoom, resize, cell width and scrolling. So it will need to move with the user actions. I've tried a bit of VBA where on worksheet resize I read out the screen width and then give my shape the corresponding 'left' attribute for a nice placement. However, zooming and scrolling seem to be quite a different matter. Does anybody know of a way for me to achieve my goal?

--------------------------
my current simple VBA:


Public Winwidth As Long
Public WinHeight As Long

sub workbook_activate() 'but also on workbook_resize and various other triggers.
Winwidth = Application.ActiveWindow.Width
ActiveSheet.Shapes("GPV_Logo").Left = Winwidth - 80
WinHeight = Application.ActiveWindow.Height
ActiveSheet.Shapes("GPV_Logo").Top = WinHeight - 60

end sub

----------------------

Hope theres a solution! thanks in advance

Sierik

Last edited by Sierik : September 1st 12 at 12:39 PM
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate in bottom left corner Lunechamps Excel Discussion (Misc queries) 1 May 28th 10 12:41 AM
Can't get to bottom right corner of window to resize? I figured it Michael NoNOTooMuch Excel Discussion (Misc queries) 1 April 14th 08 11:06 PM
When i highlight cells, I USED to get total in bottom rt corner? Barb B Excel Worksheet Functions 2 May 8th 06 02:02 PM
Missing Sum at Bottom Right Corner Ramrod Excel Discussion (Misc queries) 3 September 26th 05 07:24 PM
copy shape image into image control Luc Benninger Excel Programming 2 July 15th 04 11:14 AM


All times are GMT +1. The time now is 09:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"