LRATOZ
Board Regular
- Joined
- Aug 17, 2014
- Messages
- 59
- Office Version
- 2016
- Platform
- Windows
Hi,
I have a button on top of each sheet and when clicked takes the user back to the TOC.
I've added following code so that the shape stays in the exact same position when the user irregardless of column width:
This works great however the button is fixed on top of the page and when scrolling up and down the shape disappears.
Is there a way that I can keep the shape on top of the page irregardless the scroll position?
I don't want to use the "Freeze the first row" or floating forms technique.
I am using Excel 2016
Many thanks in advance for your help.
Cheers,
Luke
I have a button on top of each sheet and when clicked takes the user back to the TOC.
HTML:
'Create & Position Shape
Set Shape = Worksheet.Shapes.AddShape(msoShapeRoundedRectangle, 550, 0, 40, 20)
I've added following code so that the shape stays in the exact same position when the user irregardless of column width:
HTML:
'Prevent that shape moves whilst adding/deleting or re-sizing columns
With Shape
.Placement = xlFreeFloating
End With
This works great however the button is fixed on top of the page and when scrolling up and down the shape disappears.
Is there a way that I can keep the shape on top of the page irregardless the scroll position?
I don't want to use the "Freeze the first row" or floating forms technique.
I am using Excel 2016
Many thanks in advance for your help.
Cheers,
Luke