Click here to Skip to main content
16,004,828 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB Threading between classes update textbox Pin
Richard Deeming27-Jun-16 3:42
mveRichard Deeming27-Jun-16 3:42 
QuestionExample Lynx Grid Records Save to Database Pin
dongodu26-Jun-16 9:23
dongodu26-Jun-16 9:23 
QuestionLynx Grid Records Save to Database Pin
dongodu26-Jun-16 9:21
dongodu26-Jun-16 9:21 
QuestionWord For Mac 2016 - Set Margins Macro Pin
Member 1260347325-Jun-16 3:26
Member 1260347325-Jun-16 3:26 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Richard MacCutchan25-Jun-16 20:45
mveRichard MacCutchan25-Jun-16 20:45 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Member 1260347326-Jun-16 2:35
Member 1260347326-Jun-16 2:35 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Richard MacCutchan26-Jun-16 2:41
mveRichard MacCutchan26-Jun-16 2:41 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Member 1260347326-Jun-16 3:18
Member 1260347326-Jun-16 3:18 
When I run the macro, a small window pops up that says "Compile error: Invalid or unqualified reference". When I click "OK" the code comes up and ".LineNumbering.Active =" is highlighted. If I delete the entire ".LineNumbering.Active = False" line and try again, I get the same compiler error message and now ".TopMargin =" is highlighted.

I am no expert on VBA by any stretch of the imagination, but it seems to me that the reference "ActiveDocument.PageSetup.anything" is invalid. As soon as the complier tries to reference ActiveDocument.PageSetup.whatever, it spits out the Compile error.

Since exactly this code worked fine in Word for Mac 2011, was there some change in reference syntax in Word for Mac 2016 that I don't know about? I also found it curious that I could record certain keystrokes with "Record Macro" in Word for Mac 2016 but not certain drop-down menu commands. I hope that this is not a bug in Word for Mac 2016.

Thanks for your patience.
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Richard MacCutchan26-Jun-16 6:11
mveRichard MacCutchan26-Jun-16 6:11 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Member 1260347326-Jun-16 14:07
Member 1260347326-Jun-16 14:07 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Richard MacCutchan26-Jun-16 20:41
mveRichard MacCutchan26-Jun-16 20:41 
GeneralRe: Word For Mac 2016 - Set Margins Macro Pin
Member 1260347327-Jun-16 0:05
Member 1260347327-Jun-16 0:05 
QuestionFindcontrol does not work for Usercontrol Pin
Mozartoz24-Jun-16 3:31
Mozartoz24-Jun-16 3:31 
QuestionRe: Findcontrol does not work for Usercontrol Pin
CHill6024-Jun-16 4:09
mveCHill6024-Jun-16 4:09 
AnswerRe: Findcontrol does not work for Usercontrol Pin
Mozartoz24-Jun-16 4:17
Mozartoz24-Jun-16 4:17 
QuestionRe: Findcontrol does not work for Usercontrol Pin
CHill6024-Jun-16 5:00
mveCHill6024-Jun-16 5:00 
AnswerRe: Findcontrol does not work for Usercontrol Pin
Mozartoz24-Jun-16 5:12
Mozartoz24-Jun-16 5:12 
GeneralRe: Findcontrol does not work for Usercontrol Pin
Eddy Vluggen24-Jun-16 10:02
professionalEddy Vluggen24-Jun-16 10:02 
GeneralRe: Findcontrol does not work for Usercontrol Pin
Mozartoz24-Jun-16 13:37
Mozartoz24-Jun-16 13:37 
GeneralRe: Findcontrol does not work for Usercontrol Pin
CHill6024-Jun-16 14:05
mveCHill6024-Jun-16 14:05 
GeneralRe: Findcontrol does not work for Usercontrol Pin
Mozartoz24-Jun-16 18:49
Mozartoz24-Jun-16 18:49 
GeneralRe: Findcontrol does not work for Usercontrol Pin
Mozartoz24-Jun-16 21:31
Mozartoz24-Jun-16 21:31 
GeneralRe: Findcontrol does not work for Usercontrol Pin
Pete O'Hanlon27-Jun-16 0:57
mvePete O'Hanlon27-Jun-16 0:57 
QuestionDataGridViewCheckBoxColumn Checking Problem Pin
Member 1209010423-Jun-16 20:10
Member 1209010423-Jun-16 20:10 
AnswerRe: DataGridViewCheckBoxColumn Checking Problem Pin
Richard MacCutchan23-Jun-16 22:25
mveRichard MacCutchan23-Jun-16 22:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.