Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
having trouble with the following code,
Private Sub UserForm_Initialize() ' Title bar is a skin - resize UserForm dimensions Me.Height = Me.InsideHeight + ((Me.Width - Me.InsideWidth) / 2) Me.Width = Me.InsideWidth hWnd = FindWindow(vbNullString, Me.Caption) SetWindowLong hWnd, -16, &H84080080 ' No caption SetWindowLong hWnd, -20, &H40000 ' No borders End Sub when i open my workbook i get a compile error, sub or function not defined. with the findwindow highlighted. any help would be great. new_to_vba |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
border on last cell of page effects border on beginning cell of ne | Excel Discussion (Misc queries) | |||
Userforms | Excel Programming | |||
Should I generally request "post a poll" when I post a new thread? | Excel Discussion (Misc queries) | |||
Changing the border of one cell s/n change the border of adjacent | Excel Discussion (Misc queries) | |||
userforms | Excel Programming |